Null equivalence - Activate FF for all (#16209)
This commit is contained in:
+5
@@ -97,6 +97,11 @@ export const seedFeatureFlags = async ({
|
||||
workspaceId: workspaceId,
|
||||
value: true,
|
||||
},
|
||||
{
|
||||
key: FeatureFlagKey.IS_NULL_EQUIVALENCE_ENABLED,
|
||||
workspaceId: workspaceId,
|
||||
value: true,
|
||||
},
|
||||
])
|
||||
.execute();
|
||||
};
|
||||
|
||||
+1
@@ -2,4 +2,5 @@ import { FeatureFlagKey } from 'src/engine/core-modules/feature-flag/enums/featu
|
||||
|
||||
export const DEFAULT_FEATURE_FLAGS = [
|
||||
FeatureFlagKey.IS_WORKSPACE_MIGRATION_V2_ENABLED,
|
||||
FeatureFlagKey.IS_NULL_EQUIVALENCE_ENABLED,
|
||||
] as const satisfies FeatureFlagKey[];
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
import { type FieldMetadataTypesToTestForCreateInputValidation } from 'test/integration/graphql/suites/inputs-validation/types/field-metadata-type-to-test';
|
||||
import { TEST_TARGET_OBJECT_RECORD_ID_FIELD_VALUE } from 'test/integration/graphql/suites/inputs-validation/utils/setup-test-objects-with-all-field-types.util';
|
||||
import { FieldMetadataType } from 'twenty-shared/types';
|
||||
import { isEmptyObject } from 'twenty-shared/utils';
|
||||
|
||||
export const successfulCreateInputByFieldMetadataType: {
|
||||
[K in Exclude<
|
||||
@@ -135,7 +134,7 @@ export const successfulCreateInputByFieldMetadataType: {
|
||||
rawJsonField: {},
|
||||
},
|
||||
validateInput: (record: Record<string, any>) => {
|
||||
return isEmptyObject(record.rawJsonField);
|
||||
return record.rawJsonField === null;
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user