Add explicit path import traversal

This commit is contained in:
2026-09-06 20:41:40 +00:00
parent 3257b2124c
commit 9f04c09be3
15 changed files with 1233 additions and 118 deletions

View File

@@ -3,11 +3,12 @@
An opinionated Go library for applications that use YAML configuration files.
ConfigKit is in early implementation. Its current loader accepts one strict YAML
source (or explicit defaults-only input), applies typed defaults, optionally checks
an application schema version, and returns detached metadata and safe diagnostics.
source (or explicit defaults-only input), optionally traverses explicit path imports,
strictly composes their disjoint definitions, applies typed defaults, and can check
an application schema version. It returns detached metadata and safe diagnostics.
Applications may perform audited defaulting and normalization through a resolver,
then report domain errors and warnings through read-only semantic validation.
Composition, profiles, overrides, secrets, and rendering are still under development.
Glob imports, profiles, overrides, secrets, and rendering are still under development.
```go
type Config struct {