PipelineBehaviorValidationContext
Αυτό το περιεχόμενο δεν είναι ακόμη διαθέσιμο στη γλώσσα σου.
Defined in: packages/pipeline/src/interfaces/pipeline-behavior-contract.interface.ts:18
Inspection context provided to behavior contract validators before the first execution: when a function is wrapped, or when an adapter starts.
Properties
Section titled “Properties”behaviorInstance?
Section titled “behaviorInstance?”
optionalbehaviorInstance?:IPipelineBehavior<unknown,unknown>
Defined in: packages/pipeline/src/interfaces/pipeline-behavior-contract.interface.ts:41
The behavior instance, when one exists before the first execution.
declarationSource
Section titled “declarationSource”declarationSource:
"handler"|"global"|"both"
Defined in: packages/pipeline/src/interfaces/pipeline-behavior-contract.interface.ts:31
Source where this behavior was declared for the current handler:
'handler': declared at the call site, such aspipeline.wrap(options, ...entries).'global': declared globally, such ascreatePipeline({ globalBehaviors }).'both': declared globally and also customized at the call site.
effectiveBehaviorTypes
Section titled “effectiveBehaviorTypes”effectiveBehaviorTypes: readonly
Constructor<IPipelineBehavior<unknown,unknown>>[]
Defined in: packages/pipeline/src/interfaces/pipeline-behavior-contract.interface.ts:39
Complete ordered list of effective behavior classes active for this handler.
effectiveOptions
Section titled “effectiveOptions”effectiveOptions:
Record<string,unknown> |undefined
Defined in: packages/pipeline/src/interfaces/pipeline-behavior-contract.interface.ts:33
Effective options for resolved singletons; raw handler/global options for scoped behaviors.
globalOptions
Section titled “globalOptions”globalOptions:
Record<string,unknown> |undefined
Defined in: packages/pipeline/src/interfaces/pipeline-behavior-contract.interface.ts:37
Raw options declared globally, if any.
handlerName
Section titled “handlerName”handlerName:
string
Defined in: packages/pipeline/src/interfaces/pipeline-behavior-contract.interface.ts:22
The name of the CQRS handler.
handlerOptions
Section titled “handlerOptions”handlerOptions:
Record<string,unknown> |undefined
Defined in: packages/pipeline/src/interfaces/pipeline-behavior-contract.interface.ts:35
Raw options declared on the handler, if any.
handlerType
Section titled “handlerType”handlerType:
Constructor
Defined in: packages/pipeline/src/interfaces/pipeline-behavior-contract.interface.ts:20
The CQRS handler class.
requestKind
Section titled “requestKind”requestKind:
"command"|"query"|"event"
Defined in: packages/pipeline/src/interfaces/pipeline-behavior-contract.interface.ts:24
The request kind of the handler (‘command’ | ‘query’ | ‘event’).