-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
change input type for concat #7054
change input type for concat #7054
Conversation
✅ Deploy Preview for openpolicyagent ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for openpolicyagent ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Hi @anderseknert looks like it passed all the checks, please help review it, thanks! |
Code looks good. An extra test in the yaml test cases would be a nice touch. I'm also afraid this won't work as-is with wasm 🤔 |
Thanks @srenatus , I will try to add an extra test case for this. |
So as soon as we have a yaml tests case, the CI suite will run that yaml test case with standard eval (topdown) and wasm; and both tests need to succeed for the PR to go green. Concretely, we'll need the same change you've done here for topdown in the wasm "base lib", which is a few C functions here: |
Thanks for the comments. Working on it. |
@sunjh thanks for working on this. Just checking in to see if you had a chance to address Stephan's comments. We can then get this in the next release. |
@sunjh closing this PR for now. Feel free to re-open when you get a chance to address the PR comments and we can get this in. |
Why the changes in this PR are needed?
This is to improve the concat function mentioned here [https://github.com//issues/6911](ISSUE 6911)
What are the changes in this PR?
Changed concat to accept both string & number
Notes to assist PR review:
#6911
Further comments: