SkipPipeline
SkipPipeline(…
behaviors):DualClassDecorator
Defined in: packages/pipeline/src/handler-pipeline.ts:85
Opts a handler out of global behaviors. Repeated decorators add up.
Parameters
Section titled “Parameters”behaviors
Section titled “behaviors”…Constructor<IPipelineBehavior<unknown, unknown>>[]
Returns
Section titled “Returns”Throws
Section titled “Throws”TypeError when an argument is not a behavior class.
Example
Section titled “Example”@QueryHandler(HealthQuery)@SkipPipeline(LoggingBehavior, TraceBehavior)class HealthHandler implements IQueryHandler<HealthQuery> { async execute() { return 'ok'; }}