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.

Constructors

Link copied to clipboard
constructor(model: String, routes: List<RouteManifest> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun QueryManifest.copyWith(model: String = this.model, routes: List<RouteManifest> = this.routes): QueryManifest
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String