mirror of
https://github.com/twentyhq/twenty.git
synced 2026-05-19 22:07:21 -04:00
fix: align generated graphql DocumentNodes, view-filter test, and properties snapshot
- Add relationTargetFieldMetadataId to 17 ViewFilter DocumentNode constants (codegen was missing these AST entries even though the TS shapes had the field). - Update useApplyCurrentViewFiltersToCurrentRecordFilters expectation to include relationTargetFieldMetadataId: null in the produced RecordFilter. - Add relationTargetFieldMetadataUniversalIdentifier to viewFilter propertiesToCompare snapshot.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -125,6 +125,7 @@ describe('useApplyCurrentViewFiltersToCurrentRecordFilters', () => {
|
||||
label: mockFieldMetadataItem.label,
|
||||
type: getFilterTypeFromFieldType(mockFieldMetadataItem.type),
|
||||
subFieldName: null,
|
||||
relationTargetFieldMetadataId: null,
|
||||
} satisfies RecordFilter,
|
||||
]);
|
||||
});
|
||||
|
||||
@@ -356,6 +356,7 @@ exports[`ALL_UNIVERSAL_FLAT_ENTITY_PROPERTIES_TO_COMPARE_AND_STRINGIFY should ma
|
||||
"viewFilterGroupUniversalIdentifier",
|
||||
"positionInViewFilterGroup",
|
||||
"subFieldName",
|
||||
"relationTargetFieldMetadataUniversalIdentifier",
|
||||
],
|
||||
"propertiesToStringify": [
|
||||
"value",
|
||||
|
||||
Reference in New Issue
Block a user