Open Salokyn opened 1 month ago
I can confirm that. {{userNameGen}} is substituted by the code itself and the JS template literal isn't evaluated.
Looking at the code it seems as if no variables are interpolated anywhere during code generation, except for inside the URL.
Saw this on https://www.usebruno.com/downloads
It seems that this is not a bug. It is a braking change.
It refers to https://github.com/usebruno/bruno/discussions/3072
@davidsarosap Maybe that covers your case, where you expect JavaScript to be evaluated. But for the original bug report and my own case it's okay if the variable content is treated as a string. It should still be interpolated throughout the request.
Looks like there is already an open PR for the fix, though (#3197).
I have checked the following:
Describe the bug
.bru file to reproduce the bug
No response
Screenshots/Live demo link
See above