jcward / haxe-graphql

Utilities for working with Haxe and GraphQL.
MIT License
23 stars 6 forks source link

Should catch typos in query variable names #32

Open jcward opened 6 years ago

jcward commented 6 years ago

Should catch typos / mismatches (and ideally "unused variables") in query variable names:

query FooQuery($some_id: ID!, $withBaz: Boolean!, $limit: Int) {
  foo_query(a: $some_typo_id, b: $limit_typo, c: $offset_typo) {
    bar
    baz @include(if: $withBaz_typo) {
      someBazMember
    }
  }
}