fixes: create hints and references from queries if entries are less than 2000

This commit is contained in:
arpitnath 2024-04-09 15:20:37 +05:30
parent df92d81c78
commit 59d4fe66f4

View file

@ -402,7 +402,7 @@ export function createReferencesLookup(refState, forQueryParams = false, initalL
if (_type === 'Array') {
map.set(newPath, { type: _type });
if (path.startsWith('queries') && key === 'data' && value.length > 2) {
if (path.startsWith('queries') && key === 'data' && value.length > 2000) {
// do nothing
} else {
buildMap(value, newPath);