feedback icon indicating copy to clipboard operation
feedback copied to clipboard

[Bug]: GraphQL Variables Error

Open ahmadbilaldev opened this issue 3 years ago • 0 comments

What happened?

While writing a guide on the Client for testing GraphQL APIs, I discovered that the GraphQL variable functionality doesn't work. Any query that uses variables doesn't seem to send the variables to the API. The same query with a hard-coded variable value works fine.

Here is a screenshot of a GeoDB API query with variables:

Screenshot 2022-09-30 at 8 04 09 PM

The same query with a hard-coded value:

Screenshot 2022-09-30 at 8 04 36 PM

I also tested it with other APIs.

Steps to reproduce?

Create a request with any GraphQL query that involves variables.

VS Code version

1.71.2

Extension version

1.6.0

Relevant log output

No response

ahmadbilaldev avatar Sep 30 '22 15:09 ahmadbilaldev