QueryHandler

Decorator that marks a class as a Nest query handler. A query handler handles queries executed by your application code.

See more...


const QueryHandler: (query: IQuery, options?: InjectableOptions) => ClassDecorator;

See also

Description

The decorated class must implement the IQueryHandler interface.