@@ -38,37 +38,6 @@ needs either `Optional<T>` arms (verbose) or a builder + nullable
3838representation, neither of which is a one-liner. A follow-up can add
3939these once the partial-update story is settled cross-port.
4040
41- ## Payload ` origin.* ` resolution not honoured (FR-006, Day-1)
42-
43- ** Status:** intentional Day-1 simplification.
44-
45- ` SpringPayloadGenerator ` emits a ` <TemplateShortName>Payload ` Java record
46- with components mirroring the ` @payloadRef ` value-object's scalar fields,
47- using ` SpringTypeMapper.javaTypeName ` for type resolution. ` origin.* `
48- children on payload fields (passthrough / aggregate / collection) are
49- NOT yet honoured — each field's type comes from its own subtype, not
50- from the dotted source it references.
51-
52- The cross-port reference (Kotlin's ` KotlinPayloadGenerator ` ) resolves
53- these:
54- - ` origin.passthrough @from "Entity.field" ` → source field's type
55- - ` origin.aggregate @agg count ` → ` Long ` ; ` @agg avg ` → ` Double ` ;
56- ` sum/min/max ` → source ` @of ` field's type
57- - ` origin.collection @via "Parent.rel" ` → ` List<TargetPayload> ` (recurses
58- into a nested payload class)
59-
60- ** Why deferred:** the cross-port ` template-output-simple ` and
61- ` template-output-and-prompt ` corpus fixtures both use plain VO field
62- projection (no origins), so payload codegen is honest at the
63- straightforward fixture level. Origin support is tracked here as a
64- follow-up so a future entity-projection consumer who needs it has a
65- clear known-gap rather than a silent type mismatch.
66-
67- ** Workaround:** consumers needing typed origin-driven payloads today can
68- hand-edit the generated record's field types. The ` GENERATED ` banner is
69- advisory — regeneration overwrites, so the hand-edit needs to be
70- preserved out-of-band until origin resolution lands.
71-
7241## Output parser is throw-only (no try-style variant)
7342
7443** Status:** by design, per ADR-0010 §3.
0 commit comments