InferredQuerySchemaSource

constructor(modelSource: QueryModelSource, typeResolver: (QuerySchemaContext) -> Class<*> = ::payloadOwnerType)

Parameters

modelSource

the type inference that describes each domain type.

typeResolver

the type that owns a model's payload: the state type of a Snapshot, the aggregate type of an EventStream (whose event types are read from the aggregate's metadata).