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
The scaffolding tool seems to be incompatible with schemas that contain multidimensional fields. During scaffolding, the error TypeError: Cannot read properties of null (reading '0') is thrown and the procedure is aborted.
I can confirm that after removing the specific multidimensional field, the problem was resolved.
Not sure if this is a problem that should be fixed, but it seems a GraphQL spec compliant feature.
As an alternative, we could add a small notice in the readme.
The text was updated successfully, but these errors were encountered:
DonnyVerduijn
changed the title
scaffolding tool breaks on multidimensional array types
Scaffolding tool breaks on multidimensional array types
May 25, 2023
The scaffolding tool seems to be incompatible with schemas that contain multidimensional fields. During scaffolding, the error
TypeError: Cannot read properties of null (reading '0')
is thrown and the procedure is aborted.A small example:
I can confirm that after removing the specific multidimensional field, the problem was resolved.
Not sure if this is a problem that should be fixed, but it seems a GraphQL spec compliant feature.
As an alternative, we could add a small notice in the readme.
The text was updated successfully, but these errors were encountered: