-
Notifications
You must be signed in to change notification settings - Fork 30
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
Allow simple string replace #124
Comments
I think the right way to solve this would be to add a string-transform of type "replace". It would follow the P&T concept of
So the replace would happen after the combine (the original ticket would also support replace to the "fromField" before the combine). If this makes sense I would implement it. |
Sounds logical 👍 Thanks for the feedback! |
It PR was merged and this should be available in the next released version. @negz @jeanduplessis I also added documentation for it, but don't know if it makes sense, as this is now only available with the P&T composition function: crossplane/docs#796 |
I think it makes sense to land that PR once the docs have been updated to be "function-first": crossplane/docs#791 |
this was implemented and released with v0.7.0, issue can be closed |
As per this comment: crossplane/crossplane#3025 (comment) i assume that this is the right place to post this request.
I would like to see a simple string replacement implementation, that could be used like this:
Originally taken from: crossplane/crossplane#3026 but slightly adjusted.
The code snippet is just a rough example and may not be perfectly matching how inputs for the function should be specified.
The text was updated successfully, but these errors were encountered: