Skip to main content

require_aggregate

Function require_aggregate 

Source
pub const fn require_aggregate<A: Aggregate>(module: &str, name: &str)
Expand description

Called in a const block by a route builder, whose contract cannot name the module’s aggregate: an id of any other aggregate fails the build.