How to use the nestjs-config.InjectConfig function in nestjs-config

To help you get started, weā€™ve selected a few nestjs-config examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kuangshp / nestjs-mysql-api / src / shared / guard / auth.guard.ts View on Github external
  constructor(@InjectConfig() private readonly configService: ConfigService) {}
  async canActivate(context: ExecutionContext): Promise {
github kuangshp / nestjs-mysql-api / src / shared / interceptor / paginate.interceptor.ts View on Github external
  constructor(@InjectConfig() private readonly configService: ConfigService) {}
  intercept(context: ExecutionContext, next: CallHandler): Observable {

nestjs-config

Easy to use Nest configuration module

MIT
Latest version published 9 months ago

Package Health Score

61 / 100
Full package analysis