You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
origin: record scalar-valued map keys for location lookup
A scalar-valued map (e.g. OAuth flow scopes: map[string]string) decodes
into a Go map that has no Origin field of its own, so the per-key
locations present in the OriginTree are discarded by applyOriginsToMap.
Capture them on the parent struct's Origin as a named sequence
(Sequences[field]), addressable by key, so a consumer can locate an
individual entry.
Gated by isScalarValuedMapField, so it fires only for maps with scalar
elements; pointer/struct-valued maps (e.g. properties) are untouched
because their values already carry their own Origin. No yaml3 change is
needed: the key locations are already in the OriginTree.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqJA1X6suZYtR3tRbX8sLj
0 commit comments