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 partition key properties for entity type 'SharedContainerEntity1' are 'PartitionKey', while the partition key properties for entity type 'SharedContainerEntity2Child' are '', and both entity types are mapped to the container 'SharedContainer'. All entity types mapped to the same container must have compatible partition keys defined.
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...