Skip to content

let split node specify property to split on, and join auto join correctly #4386

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

Merged
merged 3 commits into from
Mar 7, 2024

Conversation

dceejay
Copy link
Member

@dceejay dceejay commented Oct 17, 2023

or manually the specified one.

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

This PR lets the split node specify the property that it will split on... it adds the specified property to the parts property as 'parts.property'. It defaults to payload so should be non-breaking. So far testing and extra tests all work OK.
The join node can then rejoin the specified property automatically. Or operate on the property configured - again defaults to msg.payload.

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run npm run test to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

and let join auto join the correct property
or manually the specified one.
@knolleary knolleary added this to the 4.0 milestone Jan 19, 2024
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.

2 participants