Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to migrate or modify events #485

Open
xshadowlegendx opened this issue May 31, 2022 · 2 comments
Open

how to migrate or modify events #485

xshadowlegendx opened this issue May 31, 2022 · 2 comments

Comments

@xshadowlegendx
Copy link

It is a good approach to migrate or modify events(remove, versioning etc) by using an a dedicate event handler to stream all events to build new aggregate? If so is there option to specify to build new aggregate from another aggregate or I have to code one event handler to do so conditionally to ignore or modify to produce new event?

@roehst
Copy link

roehst commented Jun 3, 2022

Did you check the upcasting approach?

@xshadowlegendx
Copy link
Author

hello @roehst, yes but i have not yet tried it, does the upcaster only works when publishing command? what about past command do we have to migrate it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants