Skip to content

Instantly share code, notes, and snippets.

@icanhasjonas
Created May 21, 2025 18:03
Show Gist options
  • Select an option

  • Save icanhasjonas/e6455e0d80e41059f2d918dfa514762d to your computer and use it in GitHub Desktop.

Select an option

Save icanhasjonas/e6455e0d80e41059f2d918dfa514762d to your computer and use it in GitHub Desktop.

Using a scalar string value works fine

mutation SomeMutation($someValue: String!) {
  hello( a: ["some value"]) { a, b, c}
}

Ntro client parser breaks the whole document when referencing a $variable in an array

mutation SomeMutation($someValue: String!) {
  hello( a: [$someValue]) { a, b, c}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment