Injeção de consulta Nestjs

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

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