You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the "getting started" directions in the README/on the website. I got:
➜ gqlgen-test go run github.com/99designs/gqlgen init
Creating gqlgen.yml
Creating graph/schema.graphqls
Creating server.go
Generating...
reloading module info
generating core failed: unable to load gqlgen-test/graph/model - make sure you're using an import path to a package that exists
Exec "go run ./server.go" to start GraphQL server
What did you expect?
server.go to be generated
Minimal graphql.schema and models to reproduce
I didn't provide one.
versions
gqlgen version? v0.16
go version? ``go version go1.16.6 darwin/amd64`
dep or go modules? modules
Also I tried my best to follow the info from: #1860, but it seems like init is the only way to generate server.go, and so updating the gqlgen.yml to remove the autobind lines didn't fix the problem. It seems like init generates server.go, and I can't rerun init if I already have a gqlgen.yml? Not really sure how to proceed. Never used this tool before.
The text was updated successfully, but these errors were encountered:
What happened?
I followed the "getting started" directions in the README/on the website. I got:
What did you expect?
server.go
to be generatedMinimal graphql.schema and models to reproduce
I didn't provide one.
versions
gqlgen version
?v0.16
go version
? ``go version go1.16.6 darwin/amd64`Also I tried my best to follow the info from: #1860, but it seems like
init
is the only way to generateserver.go
, and so updating thegqlgen.yml
to remove the autobind lines didn't fix the problem. It seems likeinit
generatesserver.go
, and I can't reruninit
if I already have agqlgen.yml
? Not really sure how to proceed. Never used this tool before.The text was updated successfully, but these errors were encountered: