4 Commits
Author SHA1 Message Date
eSliderandCursor c06f7f2bc9 fix(test): rename Url field to URL to satisfy revive var-naming
Lint (golangci-lint revive) requires acronyms like URL to be all-caps
in Go field names. Adjusts the motivation config test struct and its
assertion accordingly so the release-please PR can pass CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-12 13:59:57 +01:00
eSlider 719fccf712 feat(env): add nestedUnderJQPath for extracting nested subtrees by jq-style paths
Introduce `nestedUnderJQPath`, enabling subtree extraction using jq-style path parsing. Add associated utility functions (`splitJQPath`, `peelRedundantPathLeaf`, `buildNestedTreeAtPath`) and test coverage. Extend `.env Codec` to support path-specific subtree merges. Update `WithFile` to accept an optional jqPath for targeted merges.
2026-05-12 13:54:27 +01:00
eSlider 4beb769a2b test(config): add JSON round-trip test for environment config map 2026-05-12 13:00:31 +01:00
eSliderandCursor d44b56848b fix: add motivation config precedence regression test
Codify the article's nested Config scenario to verify YAML base values are overridden by dotenv and finally by process environment variables.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-02 20:08:10 +01:00