mirror of
https://github.com/twentyhq/twenty.git
synced 2026-06-12 18:08:58 -04:00
Add "search" to reserved metadata name keywords (#19181)
## Summary - Adds `search` and `searches` to the `RESERVED_METADATA_NAME_KEYWORDS` list in `twenty-shared` - Prevents users from creating custom objects named "search", which collides with the core `search` GraphQL resolver
This commit is contained in:
@@ -62,4 +62,6 @@ export const RESERVED_METADATA_NAME_KEYWORDS = [
|
||||
'relation',
|
||||
'relations',
|
||||
'aggregate',
|
||||
'search',
|
||||
'searches',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user