5.15.0 • Published 3 years ago

@settlemint/module-common-types v5.15.0

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
3 years ago

Strict Config

The core NestJS ConfigModule exposes a get function that always returns a | undefined which is a pain throughout the code. This module exposes a StrictConfigService where the get function will fail if the config variable is not there, and exposes a getOptional to get optional values.

Note that the entire configuration model is in this module, which has the beneft that all application using this configuration use the same configuration and environment variables. This provides a unified development experience.

Usage

Symlink the base .env from this package in your application of module

ln -sf ../module-strict-config/.env .env
5.15.0

3 years ago

5.10.3

3 years ago

5.10.0

3 years ago

5.9.0

3 years ago

5.3.3

3 years ago

5.3.1

3 years ago

5.2.2

3 years ago

5.2.0

3 years ago

5.1.0

3 years ago

3.24.3

3 years ago

3.24.2

3 years ago

3.24.1

3 years ago

3.24.0

3 years ago

3.23.7

3 years ago

3.23.6

3 years ago

3.23.5

3 years ago

3.23.4

3 years ago

3.23.3

3 years ago

3.23.2

3 years ago

3.23.1

3 years ago

3.23.0

3 years ago