QueryManifest
class QueryManifest @InternalWowApi constructor(val model: String, val routes: List<RouteManifest> = emptyList())
A query model of an aggregate: model is QueryRoutes.SNAPSHOT, the aggregate's snapshots, when it keeps them, or QueryRoutes.EVENTS, its event streams; routes are the model's query route and the route of its capability descriptor (QueryRoutes). What a model can do (its operations, fields, limits) is not here: it depends on the query backend the service runs on, which the build does not know, and the descriptor route answers it.
Fields may be added: pass the constructor's arguments by name.
Properties
Functions
Link copied to clipboard
fun QueryManifest.copyWith(model: String = this.model, routes: List<RouteManifest> = this.routes): QueryManifest