Cosmos: Inherit partition key definition from parent by convention #34176
Labels
area-cosmos
area-model-building
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-enhancement
Milestone
When defining an inheritance mapping in Cosmos, the partition key must be explicitly defined for children, and it must be identical to that of the parents. We should just inherit these definitions by convention, like we do for e.g. primary keys.
Probably ensure that we do the same for the container and JSON ID property definition as well...
The text was updated successfully, but these errors were encountered: