This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Adding a simple integer enum causes invalid code to be generated #1307
Labels
You can continue the conversation there. Go to discussion →
What happened?
Start with the default "gqlgen init" project structure.
Add a simple type (here "foo.Mode") to the gql schema and gqlgen.yml
re-generate
get errors:
What did you expect?
I expected appropriate glue for this type to be generated, and no compile errors.
Minimal graphql.schema and models to reproduce
versions
gqlgen version
?v0.12.2
go version
?go version go1.14 linux/amd64
go mod
The text was updated successfully, but these errors were encountered: