Closed GregoryIvo closed 3 months ago
Neat Pattern suggested by @SteffenSenchyna to accomplish this:
1) Create a wire-filter which consumes the wire-envelope you want to append
2) perform the calculations you like to the data
3) output the data key-pairs you would like from the script filter
4) use a Join
component to combine wire-filter output with original wire-envlope
5) Publish!
This is a science experiment, to try to reduce the amount of code needed to modify a wire envelope via script filter.
Brief description of the PR. [e.g. Added
null
check onobject
to avoidNullPointerException
]Related Issue: This PR fixes/closes {issue number}
Description of the solution adopted: A more detailed description of the changes made to solve/close one or more issues. If the PR is simple and easy to understand this section can be skipped
Screenshots: If applicable, add screenshots to help explain your solution
Manual Tests: Optional description of the tests performed to check correct functioning of changes, useful for an efficient review
Any side note on the changes made: Description of any other change that has been made, which is not directly linked to the issue resolution [e.g. Code clean up/Sonar issue resolution]