ordinary-sapphireO
Refine2y ago
8 replies
ordinary-sapphire

queryFieldsMap reading properties of undefined useList

Im getting
undefined TypeError: Cannot read properties of undefined (reading 'length')
at eval (Utils.js:42:67)
at Array.forEach (<anonymous>)
at eval (Utils.js:40:39)
at Array.map (<anonymous>)
at Utils.queryFieldsMap (Utils.js:35:32)
at DefaultQueryAdapter.operationTemplate (DefaultQueryAdapter.js:79:197)
at DefaultQueryAdapter.queryBuilder (DefaultQueryAdapter.js:40:51)
at Object.queryOperation [as query] (index.js:26:27)
at getList (index.js:379:72)
at Object.queryFn (index.js:1759:20)
at Object.fetchFn [as fn] (query.mjs:199:33)
at run (retryer.mjs:93:37)
at eval (retryer.mjs:124:21)
When using useList with @refinedev/nestjs-query
Was this page helpful?