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:
Charles Bochet
2026-03-31 21:16:46 +02:00
committed by GitHub
parent c11e4ece39
commit ee3ebd0ca0

View File

@@ -62,4 +62,6 @@ export const RESERVED_METADATA_NAME_KEYWORDS = [
'relation',
'relations',
'aggregate',
'search',
'searches',
];