How to handle deserializing modified event params? #241
Unanswered
inmanturbo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Say you have an event that takes in a DTO which uses pascal case field names:
But over time you know you will need to migrate to the next version of the api:
How would you best handle this, and still be able to replay all the events? and how will the package know how to properly deserialize the event?
Should I forever use the original Event and DTO and write maps to transform the data? This is not ideal because obviously the ultimate goal is to get way from the legacy conventions and into an improved application design.
Beta Was this translation helpful? Give feedback.
All reactions