Commit 78454af
Make extractPassthroughProps more resilient
Changed from blacklist approach (excluding multiple specific properties) to
only excluding payload. This makes the function more resilient to:
- Future Node-RED properties (will automatically pass through)
- Standard Node-RED properties like topic, _msgid (now preserved)
- Custom user properties (all preserved except payload)
The output message explicitly sets workflowId and payload, so those values
are always controlled regardless of what comes through in passthrough props.
This approach is simpler, more maintainable, and prevents future issues if
Node-RED adds new internal properties.
All 168 tests passing.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent a183975 commit 78454af
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | | - | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
0 commit comments