Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@nestjs-mod/validation

nestjs-mod379MIT1.2.1TypeScript support: included

Validation module with an error filter and a pre-configured validation pipe

nestjs, nestjs-mod, mod, validation, filter, pipe, pre-configured

readme

@nestjs-mod/validation

Validation module with an error filter and a pre-configured validation pipe

NPM version monthly downloads Telegram Discord

Installation

npm i --save @nestjs-mod/validation

Modules

Link Category Description
ValidationModule core Validation module with an error filter and a pre-configured validation pipe

Modules descriptions

ValidationModule

Validation module with an error filter and a pre-configured validation pipe

Static environments

Key Description Sources Constraints Default Value
usePipes Use pipes obj['usePipes'], process.env['VALIDATION_USE_PIPES'] optional true true
useFilters Use filters obj['useFilters'], process.env['VALIDATION_USE_FILTERS'] optional true true

Static configuration

Key Description Constraints Default Value
pipeOptions Validation pipe options optional - -

Back to Top

License

MIT

changelog

1.2.0 (2025-06-03)

Features

1.1.1 (2025-05-24)

Bug Fixes

  • add translates to npm lib (ee6bca1)

1.1.0 (2025-05-24)

Features

  • add new feature module validation (2720733)

1.0.1 (2025-05-24)

Bug Fixes

  • move pipeOptions to staticConfiguration (3538a3f)

1.0.0 (2025-05-24)

Bug Fixes

Features

  • add @nestjs-mod/authorizer for work with https://authorizer.dev/, add DockerComposeAuthorizer for deploy authorizer server, add option notStaticKeysOfEnvironments in docker services for exclude some keys from generated dot env file (12380a4)
  • add @nestjs-mod/docker-compose (b5ddd56)
  • add @nestjs-mod/flyway (ab20eef)
  • add @nestjs-mod/pm2 (a0b3f39)
  • add @nestjs-mod/prisma, update docker-compose for correct work with envs (750f302)
  • add DockerComposeMinio in @nestjs-mod/docker-compose, add @nestjs-mod/minio (0d3f9b7)
  • add DockerComposeNginx to @nestjs-mod/docker-compose, add use nginx in docker-compose for minio and disable cors validations, update readme in all modules (87cb34a)
  • add DockerComposeRedis in @nestjs-mod/docker-compose, add @nestjs-mod/cache-manager, rename FlywayModule to Flyway, rename NestjsPinoLogger to NestjsPinoLoggerModule, rename TerminusHealthCheck to TerminusHealthCheckModule, remove all async work with fs (1c5474a)
  • add GraphqlModule in @nestjs-mod/graphql, add @nestjs-mod/cache-manager, update code in @nestjs-mod/pino, update readme in all modules, update @nestjs-mod/common version (c36b138)
  • add new feature module prisma-tools (1470204)
  • append new infrastructure module for work with pf-flyway (9a6ba03)
  • npm run nx -- migrate latest && npm run npx nx migrate --run-migrations (e16fb8a)
  • npm run update:lib-versions && npm run manual:prepare (4c27038)
  • npm run update:nestjs-mod-versions (f9ebf6b)
  • pin: add Pino logger for NestJS-mod (Wrapper for https://www.npmjs.com/package/nestjs-pino) (55466f5)
  • the files and commands added to the infrastructure have been expanded, and examples of working with libraries have been added (7f6c852)
  • update @nestjs-mod versions from 1.7.2 to 1.9.0 (182faa0)
  • update @nestjs-mod versions from 1.9.0 to 2.1.0 (4b58355)
  • update deps and add TerminusHealthCheck module (2d1a334)
  • update logic for search env keys in docker compose services, use service name as prefix for env key name (e544c7b)