Skip to content

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

Merged
knolleary merged 3 commits into
devfrom
make-split/join-more-flexible
Mar 7, 2024
Merged

knolleary merged 3 commits into
devfrom
make-split/join-more-flexible

Conversation

@dceejay

@dceejay dceejay commented Oct 17, 2023

Copy link
Copy Markdown
Member

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