I think I know why this error occurs. It comes up ...
# orm-help
l
I think I know why this error occurs. It comes up not on codegen but on
graphql get-schema --project database
and only when there is only a collection element.
Copy code
type Team {
  members: [Participant!]!
}
This will cause the error, but can be corrected if
name: String
(or the like) is added. But only after deleting the generated files. It may be down to the lack of unique ID also (which it should have)
n
thanks for digging @lancej! Can you report this so we can improve the experience here: https://github.com/graphql-cli/graphql-cli?
l
Will do
👍 1
n
awesome thanks!