Improve performance on findMany queries (#4334)

* Improve performance on findMany queries

* Fix
This commit is contained in:
Charles Bochet
2024-03-06 13:59:42 +01:00
committed by GitHub
parent b2210bd418
commit e7857d7fa3
9 changed files with 64 additions and 77 deletions

View File

@ -36,7 +36,7 @@ export const useAddRecordInCache = ({
.map((field) =>
mapFieldMetadataToGraphQLQuery({
field,
maxDepthForRelations: MAX_QUERY_DEPTH_FOR_CACHE_INJECTION,
depth: MAX_QUERY_DEPTH_FOR_CACHE_INJECTION,
}),
)
.join('\n')}