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

Minor Validation Issue #167

Open
mwawrusch opened this issue Aug 22, 2022 · 1 comment
Open

Minor Validation Issue #167

mwawrusch opened this issue Aug 22, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@mwawrusch
Copy link

mwawrusch commented Aug 22, 2022

I accidentally named the query the same as the input variable, and that produced compilable output, but didn't work. This should trigger an error during the build phase:

query QueryGetAnalyticsForAccountInput($input: QueryGetAnalyticsForAccountInput!) {
  queryGetAnalyticsForAccount(input: $input) {
    dataPoints {...

It should have been on my end:

query QueryGetAnalyticsForAccount($input: QueryGetAnalyticsForAccountInput!) {
  queryGetAnalyticsForAccount(input: $input) {
    dataPoints {...
@budde377
Copy link
Contributor

Great feedback! I generally want to improve pre build validation.

@budde377 budde377 added the enhancement New feature or request label Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants