Replies: 1 comment 1 reply
|
Like this? https://wolverinefx.net/guide/messages#versioned-message-forwarding And you can register the message type with a different message type name. I'm not sure this isn't completely possible today. I'm moving this to a discussion for now. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
When renaming or translating message types, for example from Dutch to English, there is no built in way to map old message types to new ones. This makes it hard to handle existing or in flight messages without keeping both contracts around.
Current workaround
Keep the old message type and add a second handler that maps to the new type using cascading messages:
Wolverine will automatically publish the returned message as a cascading message.
This works, but:
Expected behavior
Why this matters
Message contracts evolve regularly. This should not require temporary duplication and extra handlers just to keep compatibility during a rollout.
Happy to provide an example if helpful.
All reactions