Reject unsupported inline pointer schemas safely
This commit is contained in:
@@ -188,6 +188,12 @@ existing descendants remain explainable after parent replacement.
|
||||
|
||||
## 7. P2 — Reject unsupported inline pointer-to-map schemas safely
|
||||
|
||||
Status: complete. Schema construction rejects inline map pointers, including
|
||||
multiple pointer levels, and detects nonterminating inline pointer chains. Public
|
||||
regressions verify safe errors before defaults run; supported inline coverage stays
|
||||
green. Full tests pass with the issue-8 TMPDIR workaround; vet, build and whitespace
|
||||
checks pass.
|
||||
|
||||
Evidence: [schema.go](../../schema.go), `describeFields`, dereferences inline field
|
||||
types before choosing the map branch, then stores a map descriptor for a field
|
||||
whose actual reflected value is a pointer. [projection.go](../../projection.go)
|
||||
|
||||
Reference in New Issue
Block a user