You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I accidently referenced an unexisting Fragment, which caused a hard to debug error in graphql-depth-limit:
TypeError: Cannot read properties of undefined (reading 'kind')
at determineDepth (....\node_modules\graphql-depth-limit\index.js:63:16)
at determineDepth (....\node_modules\graphql-depth-limit\index.js:78:14)
at ....\node_modules\graphql-depth-limit\index.js:72:9
at Array.map (<anonymous>)
at determineDepth (....\node_modules\graphql-depth-limit\index.js:71:59)
at ....\node_modules\graphql-depth-limit\index.js:72:9
at Array.map (<anonymous>)
at determineDepth (....\node_modules\graphql-depth-limit\index.js:71:59)
at ....\node_modules\graphql-depth-limit\index.js:72:9
at Array.map (<anonymous>)
graphql-depth-limit does not check if a fragment exists when it tries to access it by name. I tried reporting this to graphql-depth-limit, but this project is unmaintained. The GitHub link on NPM refers to an nonexisting repository.
My suggestion is that Strapi moves away from this unmaintained project and implements the depth limit functionality with a package such as @graphile/depth-limit.
The text was updated successfully, but these errors were encountered:
I accidently referenced an unexisting Fragment, which caused a hard to debug error in
graphql-depth-limit
:graphql-depth-limit
does not check if a fragment exists when it tries to access it by name. I tried reporting this tographql-depth-limit
, but this project is unmaintained. The GitHub link on NPM refers to an nonexisting repository.My suggestion is that Strapi moves away from this unmaintained project and implements the depth limit functionality with a package such as
@graphile/depth-limit
.The text was updated successfully, but these errors were encountered: