Upcasting events while replaying #79
-
Let me preface, I am relatively new to ES. I have a project where after a few weeks I've decided I want to change some events' structure. The new data can be added by using the upcasting feature of this framework. Of course, the existing read models would also need this data. Then I would replay existing events. But I am not running into the issue that it seems like the Am I wrong in my perception that during replay the upcasting should also happen? It feels like, right now, the best way would be to load events from the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @rogierknoester, you're correct that when replaying events you'll want to apply those upcasters. I think that would be a nice feature, I've added this as an issue. Thanks for the feedback! |
Beta Was this translation helpful? Give feedback.
Hi @rogierknoester, you're correct that when replaying events you'll want to apply those upcasters. I think that would be a nice feature, I've added this as an issue. Thanks for the feedback!