OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [odata-comment] OData 4.01: Entity Container Extends Name Collisions


Dear Mr Busjaeger,

I've created https://issues.oasis-open.org/browse/ODATA-1331 to track this issue.

Thank you for reporting the issue and for your proposal.

Ralf Handl



Von: odata-comment@lists.oasis-open.org <odata-comment@lists.oasis-open.org> im Auftrag von Benjamin Busjaeger <busjaeger@gmail.com>
Gesendet: Montag, September 9, 2019 7:56 PM
An: odata-comment@lists.oasis-open.org
Betreff: [odata-comment] OData 4.01: Entity Container Extends Name Collisions
 
see https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/odata-discussion/5g3mk2A7yG8/tluOLeO2AgAJ

What is the expected behavior when an Entity Container extends another Entity Container and there is an Entity Set with the same name in both?

The spec says: "All children of the “base” entity container are added to the “extending” entity container." and "An entity set is identified by its name, a simple identifier that MUST be unique within its entity container."

Does that mean this case is invalid?

IIUC, 4.01 adds covariance, i.e., the ability for Structural Types to redeclare Properties defined in the base Structural Type with a subtype. It would be nice if the same were possible for Entity Containers, i.e., if an Entity Container that extends another Entity Container could redeclare Entity Sets with a subtype


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]