AggregateRouteMetadata
The routing of an aggregate. It shapes both the route contracts and the HTTP adapter at runtime.
AggregateRouteMetadataParser takes the routing (enabled, resourceName) from the aggregate's AggregateRoute and the aggregate's own policies (spaced, ownerPolicy) from its AggregateMetadata, where core resolves them; a route contributor that serves a resource of its own may construct one directly.
Type Parameters
the command aggregate type.
Constructors
Creates the routing with an OwnerPolicy. Since 9.3.0.
Properties
the aggregate the routes serve.
the ownership policy of the routes, as the deprecated AggregateRoute.Owner; read ownerPolicy.
The ownership policy of the routes; parsed as AggregateMetadata.owner. Since 9.3.0.
the resource segment of the routes.
whether the routes take a space from the request (Wow-Space-Id); parsed as AggregateMetadata.spaced. Only a spaced aggregate has a space written to its commands or its queries scoped by space; for any other aggregate the adapter ignores the header.