This reverts commit cc71394863.
Regression introduced in https://github.com/twentyhq/twenty/pull/13213
The import/export use an upsert logic and when it goes through the
"update" path it fails due to the connect not being implemented yet
(should be in https://github.com/twentyhq/core-team-issues/issues/1230)
---------
Co-authored-by: prastoin <paul@twenty.com>
This commit is contained in:
+3
-3
@@ -27,7 +27,7 @@ import { FieldMetadataType } from '~/generated-metadata/graphql';
|
||||
|
||||
//TODO : isIncludedInUniqueConstraint refactor - https://github.com/twentyhq/core-team-issues/issues/1097
|
||||
|
||||
export type CompositeSubFieldConfig<T> = {
|
||||
type CompositeSubFieldConfig<T> = {
|
||||
subFieldName: keyof T;
|
||||
subFieldLabel: string;
|
||||
isImportable: boolean;
|
||||
@@ -258,7 +258,7 @@ export const SETTINGS_COMPOSITE_FIELD_TYPE_CONFIGS = {
|
||||
.firstName,
|
||||
isImportable: true,
|
||||
isFilterable: true,
|
||||
isIncludedInUniqueConstraint: false,
|
||||
isIncludedInUniqueConstraint: true,
|
||||
},
|
||||
{
|
||||
subFieldName: 'lastName',
|
||||
@@ -267,7 +267,7 @@ export const SETTINGS_COMPOSITE_FIELD_TYPE_CONFIGS = {
|
||||
.lastName,
|
||||
isImportable: true,
|
||||
isFilterable: true,
|
||||
isIncludedInUniqueConstraint: false,
|
||||
isIncludedInUniqueConstraint: true,
|
||||
},
|
||||
],
|
||||
exampleValues: [
|
||||
|
||||
Reference in New Issue
Block a user