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
Some weird errors appear at runtime, after generating the files:
$ go run .
# github.com/steebchen/api/gqlgen
gqlgen/gqlgen.go:2393:2: not enough arguments to return
gqlgen/gqlgen.go:2393:11: ec.unmarshalInputScope undefined (type *executionContext has no field or method unmarshalInputScope)
gqlgen/gqlgen.go:2397:11: ec._Scope undefined (type *executionContext has no field or method _Scope)
Would it be maybe useful to just generate those functions if they don't exist on an enum yet? Not sure if that makes sense for everybody, but in my case I just have generated enums from Prisma, but it obviously only generates the enum and not all method gqlgen requires.
Expected Behaviour
I want to import existing enums:
Actual Behavior
Some weird errors appear at runtime, after generating the files:
Minimal graphql.schema and models to reproduce
gqlgen@v0.8.1
The text was updated successfully, but these errors were encountered: