Hi Everyone
I have just delivered my first node red package
@tonymacdonald/node-red-msg-encapsulation
The 2 simple nodes allow you to wrap the incoming message into a property of a new otherwise empty message and later, after some potentially destructive operation in the flow, to unwrap the original message to continue processing.
This allows the state carried in the original message to be preserved and later restored while still carrying that state only in the message.
I hope you find it useful.
Let me know your thoughts.