bruno
bruno copied to clipboard
Replace recursive variables
Description
We can see here that the variables were replaced in the URL
Contribution Checklist:
- [X] The pull request only addresses one issue or adds one feature.
- [X] The pull request does not introduce any breaking changes
- [X] I have added screenshots or gifs to help explain the change if applicable.
- [X] I have read the contribution guidelines.
- [X] Create an issue and link to the pull request.
but I have this when trying to parse the response
Error occurred in handler for 'send-http-request':
TypeError: Cannot read properties of undefined (reading 'text') at eval (eval at compileJsExpression (F:\dev\bruno-clone\bruno\packages\bruno-js\src\utils.js:50:10), <anonymous>:3:47) at evaluateJsExpression (F:\dev\bruno-clone\bruno\packages\bruno-js\src\utils.js:60:10) at F:\dev\bruno-clone\bruno\packages\bruno-js\src\runtime\vars-runtime.js:60:21 at arrayEach (F:\dev\bruno-clone\bruno\node_modules\lodash\lodash.js:530:11) at Function.forEach (F:\dev\bruno-clone\bruno\node_modules\lodash\lodash.js:9410:14) at VarsRuntime.runPostResponseVars (F:\dev\bruno-clone\bruno\packages\bruno-js\src\runtime\vars-runtime.js:59:7) at runPostResponse (F:\dev\bruno-clone\bruno\packages\bruno-electron\src\ipc\network\index.js:317:34) at F:\dev\bruno-clone\bruno\packages\bruno-electron\src\ipc\network\index.js:487:13 at process.processTicksAndRejections (node:internal/process/task_queues:96:5) at async node:electron/js2c/browser_init:193:551 {stack: "TypeError: Cannot read properties of undefined (re… at async node:electron/js2c/browser_init:193:551", message: "Cannot read properties of undefined (reading 'text')"}````
Can this be merged? I am facing the same issue