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

Using variables inside fragments

Open joaodiogorosario opened this issue 4 years ago • 0 comments

Hi everyone!

I'm trying to pass a variable from a query to a fragment as GraphQL documentation reports here:

image

But doing the same thing using the graphql-client I'm receiving the following error:

  • Variable $variable is used by ...Fragment but not declared

joaodiogorosario avatar Nov 26 '21 11:11 joaodiogorosario