REQUEST_KIND
constREQUEST_KIND: typeofREQUEST_KIND
Defined in: packages/pipeline/src/create-pipeline.ts:50
Brand by which a request tells a pipeline its kind, so a wrapped method needs no
kind option; the request’s class name then names the operation. @cqrs-ddd/core
puts it on BaseCommand, BaseQuery and DomainEvent; any class can declare it.
Example
Section titled “Example”class GetPriceQuery { get [REQUEST_KIND]() { return 'query' as const; } constructor(readonly sku: string) {}}