Closed ralfhandl closed 3 months ago
A key alias is only required if a key property is nested within a complex or navigation property, and explicitly forbidden otherwise
An alias MUST NOT be defined if the key property is a primitive property of the entity type itself.
Initially the Alias of an alternate key was optional (nullable), and it seems to be an accident that this was changed to non-nullable with PR #19:
Alias
https://github.com/oasis-tcs/odata-vocabularies/blob/25b39539374846d482e669594ca4d9b98b5b73ca/vocabularies/Org.OData.Core.V1.xml#L491-L493
Make Alias nullable.
TC 2024-06-19: Alias should be nullable, Ralf to create a PR
A key alias is only required if a key property is nested within a complex or navigation property, and explicitly forbidden otherwise
Initially the
Alias
of an alternate key was optional (nullable), and it seems to be an accident that this was changed to non-nullable with PR #19:https://github.com/oasis-tcs/odata-vocabularies/blob/25b39539374846d482e669594ca4d9b98b5b73ca/vocabularies/Org.OData.Core.V1.xml#L491-L493
Proposal
Make
Alias
nullable.