kratam
08/23/2018, 8:11 PMschema.graphql, graphql codegen -p app fails with error: UnhandledPromiseRejectionWarning: Error: TypeError: Cannot read property 'type' of undefined
search(id: ID!, radius: Int!): [Apartment!]!
It seems it has a problem with the array because if I change the line to this (everything else remains the same), it works:
search(id: ID!, radius: Int!): Apartment!
Any suggestions?
(edit: the graphql server works perfectly with both versions, only the graphql codegen command fails)