UNPKG

nestjs-api-tools

Version:

Wrappers for convenient API development including validation, logging and i18n wrappers

7 lines 374 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.QueryWithValidation = void 0; const common_1 = require("@nestjs/common"); const QueryWithValidation = () => (0, common_1.Query)(new common_1.ValidationPipe({ whitelist: true })); exports.QueryWithValidation = QueryWithValidation; //# sourceMappingURL=query-with-validation.decorator.js.map