KEMBAR78
let split node specify property to split on, and join auto join correctly by dceejay · Pull Request #4386 · node-red/node-red · GitHub
Skip to content

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