-
Notifications
You must be signed in to change notification settings - Fork 267
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
[WIP] fix(template): unescape escape templates when not doing partial resolution #5680
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
When I was trying to resolve this I had a few more test cases. Maybe it makes sense to check if those pass too?
|
@TimBeyer, yeah good catch. Also, the framework tests appear to be failing. |
const res = resolveTemplateString({ | ||
string: "$${bar}", | ||
context: new TestContext({}), | ||
contextOpts: { allowPartial: true }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not really obvious to me how this fixes the end user issue – can we also add an integration test that shows how this fixes the issue in a less synthetic scenario?
All fair points, flagging as WIP for now. Btw the microk8s test failures seem unrelated. Not sure if we've been seeing those as flaky? |
@TimBeyer this isn't the current behavior, so it would be a breaking change:
|
No description provided.