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
note: required by a bound in`EventStore::apply_command_and_store_events`
--> es/src/persistence/store.rs:27:42
|
27 | fn apply_command_and_store_events<A: crate::Aggregate<Command = C>, C>(| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in`EventStore::apply_command_and_store_events` = note: this error originates in the attribute macro `trait_variant::make` (in Nightly builds, run with -Z macro-backtrace for more info)
This macro fails when you have inner types as context bounds of your trait functions.
Consider you have this type:
And you want to implement a trait where you can handle this aggregate commands like this:
This fails to compile with next error:
The text was updated successfully, but these errors were encountered: