Replies: 2 comments
-
This is critical. Off the top of my head, I am wondering how to build around this. Since there are not really hard rules set in stone about projectors being actually linked to specific tables etc. Otherwise, it seems like the event or projection itself would need metadata linking it to a specific event number, so that something automated could theoretically only delete all projection table entries that are sourced from Maybe a trait like I'm not sure a graceful way to build this into the package. A workaround as you already alluded to yourself, might be to just always rely on replaying |
Beta Was this translation helpful? Give feedback.
-
Quote from the docs:
So it would seem the onus is on us when using |
Beta Was this translation helpful? Give feedback.
-
How to replay all events and avoid
Integrity constraint violation: 1062 Duplicate entry
?How to replay from X event number and avoid same error?
Replaying is not working in
spatie/laravel-shop
tooit's not working with providing custom event too
Using
delete
replay is successful then we replaying all events, but it is not working in replaying starting form X event numberresetState
is not event called then replaying form X eventHow we should properly reset state in replaying event from X event number?
Maybe you can fix your premium package code?
Beta Was this translation helpful? Give feedback.
All reactions