Skip to main content

IConfigRegistry

Summary

Resolves and validates typed configuration objects from the runtime environment.

Signature

Remarks

An instance is available in InitContext.config. Configuration classes must be decorated with class-transformer (@Expose, @Default) and class-validator (@IsPort, @IsIpOrURL, etc.) decorators from @nanoforge-dev/config.

Examples

Example 1