feat: new relation schema generation (#9882)
Fix https://github.com/twentyhq/core-team-issues/issues/295 Based on the feature-flag `IsNewRelationEnabled` the schema will be marked as outdated and regenerated, this will cause an error on the front-end on the first request on the following ones schema will be well generated ans request will work.
This commit is contained in:
@ -10,6 +10,7 @@ const mockObjectMetadata: ObjectMetadataInterface = {
|
||||
labelPlural: 'Objects',
|
||||
description: 'Test object metadata',
|
||||
targetTableName: 'test_table',
|
||||
workspaceId: '1',
|
||||
fromRelations: [],
|
||||
toRelations: [],
|
||||
fields: [],
|
||||
|
||||
Reference in New Issue
Block a user