Expose current configuration values
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Implementation plan: typed result values and focused inspection
|
||||
|
||||
Status: implementation in progress; Stage 1 complete.
|
||||
Status: implementation in progress; Stages 1–2 complete.
|
||||
|
||||
## Scope and working instructions
|
||||
|
||||
@@ -95,6 +95,8 @@ reachable schema types; lookup should not depend on total runtime collection siz
|
||||
|
||||
## Stage 2 — Expose Value and verify its public contract
|
||||
|
||||
**Complete.**
|
||||
|
||||
Add `func (r *Result[T]) Value(path Path) (any, bool)` in a focused root file,
|
||||
forwarding current `r.Config`, the converted path, and the existing Secret binding.
|
||||
A nil receiver returns `(nil, false)`. Any non-nil result works independently of
|
||||
|
||||
Reference in New Issue
Block a user