Improve performance on findMany queries (#4334)
* Improve performance on findMany queries * Fix
This commit is contained in:
@ -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')}
|
||||
|
||||
Reference in New Issue
Block a user