Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gqlgen on new RootResolver return declared name XxxResolver #152

Closed
pistachiology opened this issue Jun 27, 2018 · 0 comments · Fixed by #166
Closed

gqlgen on new RootResolver return declared name XxxResolver #152

pistachiology opened this issue Jun 27, 2018 · 0 comments · Fixed by #166

Comments

@pistachiology
Copy link

pistachiology commented Jun 27, 2018

Expected Behaviour

run gqlgen -typemap ./types.json -schema ./schema_generated.graphql command on provided graphql schema, schema.go and types.json should not return compile error undeclared: QueryResolver

Actual Behaviour

gqlgen return undeclared QueryResolver

Minimal graphql.schema and models to reproduce

https://gist.github.com/pistachiology/181b54d7e913a61fff5a7eeee5c966f0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant