Improve metadata version caching (#11775)
Investigating https://github.com/twentyhq/core-team-issues/issues/756, I found that the error actually stemmed from "Object metadata collection not found" error. While this is planned to be fixed by metadata performance improvements (as stated in [sentry-boss doc](https://docs.google.com/document/d/1ytbC5W6ZFUSJ3PoJ4IfKi2IehKZYw65mqCnc24aP4RM/edit?tab=t.0) in "known issues"), I tried some easy improvements to reduce the number of errors.
This commit is contained in:
@ -23,4 +23,5 @@ export enum GraphqlQueryRunnerExceptionCode {
|
||||
RELATION_SETTINGS_NOT_FOUND = 'RELATION_SETTINGS_NOT_FOUND',
|
||||
RELATION_TARGET_OBJECT_METADATA_NOT_FOUND = 'RELATION_TARGET_OBJECT_METADATA_NOT_FOUND',
|
||||
NOT_IMPLEMENTED = 'NOT_IMPLEMENTED',
|
||||
OBJECT_METADATA_COLLECTION_NOT_FOUND = 'OBJECT_METADATA_COLLECTION_NOT_FOUND',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user