Skip to main content
zerotal

Documentation


Documentation / zerotal / config-reexport / ConfigValidationContext

Interface: ConfigValidationContext

Defined in: packages/core/src/config/validation.ts:33

Context handed to a config validator.

Properties

namespace

namespace: string

Defined in: packages/core/src/config/validation.ts:35

The namespace being validated (e.g. "session").


isProduction

isProduction: boolean

Defined in: packages/core/src/config/validation.ts:37

True in a production-like deployment — the only case where error issues are fatal.


config

config: ConfigManager

Defined in: packages/core/src/config/validation.ts:39

The full config store, for cross-namespace reads (e.g. checking app.key).