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
AggregateLifecycle should provide Kotlin-like API. Since relevant AggregateLifecycle methods are static,
there is no way to extend existing class, but we can define new top-level functions.
Relevant methods are:
apply is a kotlin function on Any, we should name it for example applyEvent
createNew should get reified class and a factory function
The text was updated successfully, but these errors were encountered:
Scenario
AggregateLifecycle
should provide Kotlin-like API. Since relevantAggregateLifecycle
methods are static,there is no way to extend existing class, but we can define new top-level functions.
Relevant methods are:
apply
is a kotlin function on Any, we should name it for exampleapplyEvent
createNew
should get reified class and a factory functionThe text was updated successfully, but these errors were encountered: