Issue Following Getting Started Guide #2107
gyenabubakar
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The instruction in the Don't Eagerly Fetch The User section of the Getting Started guide says to create a
todo.go
file with aTodo
struct. The problem is, there's aTodo
struct already defined in thegraph/model/models_gen.go
file so there's an error.The instruction adds that after running the
generate
command, aUser
resolver function will be generated. In my case it isn't generated, probably because of the type definition conflict above.How do I fix this?
I'm a newbie to Go and gqlgen so please bear with me 😅.
Code: https://github.com/gyenabubakar/go-graphql-trial
Beta Was this translation helpful? Give feedback.
All reactions