Commit 3d40504
committed
be more precise on the default cardinality context
Reading the "managed composition" part made me first think of the
Orders:Items element when talking about the cardinality, but that's
to-many, which had me wondering for a sec. But I think what's being
referred to here is the backlink, i.e. this `up_` element:
```yaml
Orders.Items:
kind: entity
includes: [OrderItems]
elements:
up_:
key: true
type: cds.Association
cardinality: { min: 1, max: 1 }
target: Orders
keys: [{ ref: [ID] }]
notNull: true
```1 parent c83fdfe commit 3d40504
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1040 | 1040 | | |
1041 | 1041 | | |
1042 | 1042 | | |
1043 | | - | |
| 1043 | + | |
1044 | 1044 | | |
1045 | 1045 | | |
1046 | 1046 | | |
| |||
0 commit comments