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

Fixes #5218, where nested environment variables on a sub environment don't always work #5219

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

bbbco
Copy link
Contributor

@bbbco bbbco commented Sep 23, 2022

Closes #5218

I opened #5218 today, and decided to dig into this with the debugger. I discovered that we weren't properly awaiting the async function renderSubContext(). Adding the await fixes this issue and deeply nested environment variables work properly.

changelog(Fixes): Fixed an issue where deeply nested environments variables didn't work for sub environments

@bbbco bbbco marked this pull request as draft September 24, 2022 14:30
@bbbco bbbco marked this pull request as ready for review September 24, 2022 14:30
@bbbco
Copy link
Contributor Author

bbbco commented Oct 28, 2022

hey @filfreire I know you verified this bug in #5218 and the next release is imminent. Any chance this PR with the obvious fix (adding an await that was missing) can get pulled in?

@filfreire filfreire enabled auto-merge (squash) November 10, 2022 13:05
@filfreire
Copy link
Member

@bbbco this will be merged and added to today's beta.5 release

@filfreire filfreire merged commit 171e6c2 into Kong:develop Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Environment variables unable to be overridden when nesting past four levels
2 participants