Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphQL #3115

Closed
2 tasks done
vidi42 opened this issue Sep 17, 2024 · 2 comments
Closed
2 tasks done

GraphQL #3115

vidi42 opened this issue Sep 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@vidi42
Copy link

vidi42 commented Sep 17, 2024

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

Environment variables are not replaced in the GraphQL variables JSON.

I'm attaching a simple example using a public GraphQL API.

.bru file to reproduce the bug

Attached is the collection to reproduce the issue.
It has an environment called default so make sure to select it before running the Get Country Details request.
Bruno.zip

Screenshots/Live demo link

Working example with no environment variable used:
image

Non working example with environment variable used:
image
image

@vidi42 vidi42 added the bug Something isn't working label Sep 17, 2024
@That-1-QA
Copy link

That-1-QA commented Sep 17, 2024

Looks like a duplicate of this #2960, I've got a workaround using the latest version of Bruno, and other users report using earlier builds also works:

@vidi42
Copy link
Author

vidi42 commented Sep 17, 2024

@That-1-QA I missed the other ticket. Thank you. Will close this one

@vidi42 vidi42 closed this as completed Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants