usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
27.6k stars 1.27k forks source link

bugfix: resolve env variables in headers when generating the code #3435

Open nook4sh opened 2 weeks ago

nook4sh commented 2 weeks ago

Description

Resolve the env variables in the headers when generating the code

Contribution Checklist:

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Linked to this issue : https://github.com/usebruno/bruno/issues/1112

nook4sh commented 2 weeks ago

Hi master, I found the previous MR is outdated and has some conflicts. I want only to use the variables in the headers and I opened a new MR to fix it. Could you help to review it? thank you! @helloanoop cc @survivant