Using Override variables for GraphQL fetcher

Could someone explain to me how to use “Override variables” in for the GraphQL fetcher?
In my case, I have a variable $slug that’s passed with my query (e.g., {"slug":"example-page"]})

Your override variables look conceptually correct, but I think here’s a syntax error. There’s an extra right bracket ]

Cheers everyone!

I also have a problem overriding variables. I keep seeing {“name”:“Rick Sanchez”} within query explorer even after overriding the Override Variables field with {“my_id_variable”: 1}.
I have tried everything but can’t get it work so that inside query explorer I could use my_id_variable within a query.

Please, can someone point out what am i doing wrong and how to achieve desired behavior?

Please see screenshots


Hey @anton_savitskiy, welcome to the community.

You should make a new topic since this is a separate issue. In your case, you’re missing a declaration for the name variable. Please see the GraphQL documentation here: Queries and Mutations | GraphQL