Scaffolding tool breaks on multidimensional array types
DonnyVerduijn opened this issue · 0 comments
DonnyVerduijn commented
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:
type Subscription {
gridState(id: ID!): [[Cell!]!]!
}
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.