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
The text was updated successfully, but these errors were encountered:
louis993546
changed the title
Panic message can be improve when schema type name is not compatible
[Proposal] Panic message can be improve when schema type name is not compatible
Mar 17, 2019
I think a panic is probably not the right place to improve the error messaging. Hitting a panic during codegen is usually a case where our validation needs to be improved so that the panic is never hit.
Expected Behaviour
go run github.com/99designs/gqlgen init
type Time
is not a good ideaActual Behavior
go run github.com/99designs/gqlgen init
Minimal graphql.schema and models to reproduce
This one cases the panic:
And this will work just fine
The text was updated successfully, but these errors were encountered: