Answer stability round 1 and product-owner round 1: refuse a field binding read once from above its binder, word the self-read refusal plainly, say how a bound field's column keeps the pick, and ask item 96

This commit is contained in:
2026-10-05 09:54:38 +02:00
committed by Lillem4n
parent f4a05fbb36
commit 8d82759520
6 changed files with 42 additions and 13 deletions
+3 -1
View File
@@ -299,7 +299,9 @@ not agree on one among themselves; each must only hold that type.
The fields an embedded struct promotes are the struct's own — `e.First`, as
`encoding/json` and SQL mappers read them — so they are columns of its record and share
its names: one tag may bind `{/person as p}{p.first}` and another read `{p.sex}` (goal 4.1),
while a path tag draws afresh as `{/path}` does (goal 5.2); a tagged field that another field hides is refused, not dropped. A named
while a path tag draws afresh as `{/path}` does (goal 5.2). A tag binding a name only an
embedding type reads is refused on the embedded type alone, as any name read once is, so the
embedder binds it in a tag of its own; a tagged field that another field hides is refused, not dropped. A named
struct field is another entity and a record of its own. `fake:"-"` leaves a struct
field, embedded or named, unfilled, so no name may be `-`; a pointer back to a struct
already being filled is left alone, since filling it would never end. `New` cannot see a