Recursively turn relation connection into records (#3334)

* Use new ObjectRecordConnection

* Use new records without connection in GraphQLView

* Added playwright for storybook tests

* Fixed lint

* Fixed test and tsc

* Fixed storybook tests

* wip tests

* Added useMapConnectionToRecords unit test

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Lucas Bordeau
2024-01-11 20:27:59 +01:00
committed by GitHub
parent 299bed511f
commit e2bdf0ce45
24 changed files with 1252 additions and 266 deletions

View File

@ -41,6 +41,7 @@ export const ViewBarEffect = () => {
type: { eq: viewType },
objectMetadataId: { eq: viewObjectMetadataId },
},
useRecordsWithoutConnection: true,
});
useEffect(() => {