haxe-graphql icon indicating copy to clipboard operation
haxe-graphql copied to clipboard

Should catch typos in query variable names

Open jcward opened this issue 7 years ago • 0 comments

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
    }
  }
}

jcward avatar Aug 27 '18 15:08 jcward