Wstrzyknięcie zapytania Nestjs

import { Query } from "@nestjs/common";

// inside controller
@Get()
findAll(@Query('active') active: boolean) {
  return this.employeeService.findAll({ active });
}
Prickly Petrel