Files
twenty/packages/twenty-server/test
Félix Malfait 68d513662c test(twenty-server): integration test for relation-traversal view filter round-trip
Asserts that the metadata GraphQL Create + Update mutations correctly
persist and surface `relationTargetFieldMetadataId` on view filters:

- create with relationTargetFieldMetadataId set → returns it on the DTO
- create without it → defaults to null
- update relationTargetFieldMetadataId → new value is reflected on the DTO
- update an unrelated property (value) → relationTargetFieldMetadataId
  is preserved (regression test for the universal-identifier-recompute
  fix in fromUpdateViewFilterInputToFlatViewFilterToUpdateOrThrow)

Uses the standard Person.company MANY_TO_ONE relation pointing at
Company.name / Company.domainName so the test runs against seed data.
2026-05-14 22:44:23 +02:00
..