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

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

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


Subject: [OASIS Issue Tracker] (ODATA-1331) Override entity set when extending an entity container (public comment)


Ralf Handl created ODATA-1331:
---------------------------------

             Summary: Override entity set when extending an entity container (public comment)
                 Key: ODATA-1331
                 URL: https://issues.oasis-open.org/browse/ODATA-1331
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: CSDL JSON , CSDL XML
            Reporter: Ralf Handl
             Fix For: V4.01_CS02


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



--
This message was sent by Atlassian JIRA
(v7.7.2#77003)


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