Commit 5006e01
committed
Distribute BlockInRequest<D> over D
Aligns BlockInRequest with BlockInNestedResponse so that, when D is a
union of item-type definitions, the type expands into per-D variants
instead of a single object whose internal fields carry the union. This
restores type-narrowing on `attributes`, `relationships`, and the
`__itemTypeId` discriminator when consumers pattern-match by item_type.1 parent 84f6ead commit 5006e01
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
0 commit comments