You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a public method on the event stream managers and collections to force an update of the domain object (applying new events) and output of a snapshot. This is similar to GetCopyOfState(forceRefresh: true) except that the copy method doesn't guarantee a snapshot.
Additionally, use reflection to detect a bool return from domain event Apply methods, and use that to force an immediate snapshot if the method returns true. Consider - does this imply projections should run in the middle of a sequence of Apply invocations? Make it configurable?
The text was updated successfully, but these errors were encountered:
Provide a public method on the event stream managers and collections to force an update of the domain object (applying new events) and output of a snapshot. This is similar to
GetCopyOfState(forceRefresh: true)
except that the copy method doesn't guarantee a snapshot.Additionally, use reflection to detect a
bool
return from domain eventApply
methods, and use that to force an immediate snapshot if the method returns true. Consider - does this imply projections should run in the middle of a sequence ofApply
invocations? Make it configurable?The text was updated successfully, but these errors were encountered: