-
Goal: I am trying to build a new query with the query library and test it by hardcoding variables values using the 'Variables' right side panel.
-
Steps: Create a new query in staging mode, add variables, update their values in the right-side panel
-
Details: The variable values that I add to the right-side panel are not registered when the query is executed.
Hello @brady
I noticed an issue where you need to manually input values when using that library within the app.
Hi @brady, two questions:
- Are we con Cloud or Self-hosted Retool? If Self-hosted, what version?
- What happens when we click the 'play' button to run the query?
I'm unable to reproduce this bug but we've seen linting issues in the past. I wonder if this is one of them.
Hey Paulo, thanks for following up!
I am on the cloud version.
When I hit play while in staging, it runs the query but none of the variable values are included in the request, they are all empty. Even the 'name' variable which in this case is green and seems to be linted correctly, does not appear in the request.
You are welcome!
That is odd, could you duplicate this query and hard code some values? Let's make sure the endpoint is working as expected first.
Thank you! I was able to repro and found an existing internal bug report for this. I added your experience to the report and will update you here when it's fixed.