QuerySchemaHandlerFunctionFactory

class QuerySchemaHandlerFunctionFactory(handlerKey: String, queryGateway: (AggregateMetadata<*, *>) -> QueryGateway<*>, exceptionHandler: RequestExceptionHandler, guard: HttpQueryGuard = HttpQueryGuard()) : AggregateRouteHandlerFunctionFactorySupport

Creates the GET …/schema handler of the route identified by handlerKey, for snapshot and event stream alike.

Constructors

Link copied to clipboard
constructor(handlerKey: String, queryGateway: (AggregateMetadata<*, *>) -> QueryGateway<*>, exceptionHandler: RequestExceptionHandler, guard: HttpQueryGuard = HttpQueryGuard())