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

Return error if no matches to schema or operation search paths #2567

Closed
calvincestari opened this issue Oct 11, 2022 · 0 comments · Fixed by #2618
Closed

Return error if no matches to schema or operation search paths #2567

calvincestari opened this issue Oct 11, 2022 · 0 comments · Fixed by #2618
Assignees
Labels
codegen Issues related to or arising from code generation
Milestone

Comments

@calvincestari
Copy link
Member

calvincestari commented Oct 11, 2022

#2543 (comment)

Error: Cannot query field "company" on type "undefined"

This error is indicative of a schema that could not be loaded. I think we used to have this behaviour and it was removed when we changed the configuration validation. Clearly there weren't good enough tests around the behaviour, we'll fix that now.

@calvincestari calvincestari added this to the Next Release (1.0.1) milestone Oct 11, 2022
@calvincestari calvincestari added the codegen Issues related to or arising from code generation label Oct 11, 2022
@calvincestari calvincestari changed the title Manually test for error response Return error if no matches to schema or operation search paths Oct 27, 2022
@calvincestari calvincestari self-assigned this Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codegen Issues related to or arising from code generation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant