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-1547) Recursive complex types must be nullable


Michael Pizzo created ODATA-1547:
------------------------------------

             Summary: Recursive complex types must be nullable
                 Key: ODATA-1547
                 URL: https://issues.oasis-open.org/browse/ODATA-1547
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: New Feature
          Components: CSDL JSON , CSDL XML
    Affects Versions: V4.01_OS
         Environment: [Proposed]
            Reporter: Michael Pizzo
             Fix For: V4.01_ERRATA01


We have rules around a partner navigation property in a recursive containment relationship (it must be single valued and nullable) but we don't call out the fact that the child of a single-valued recursive containment must also be nullable (or the recursion would never end).Â

Similarly, we say nothing about the child of a recursive complex-typed property. For example, we don't have a rule against the following definition, although the model it describes results in an endless recursion:

Â
{code:java}
<ComplexType Name="myType>
    <Property Name="nested" Type="myType" Nullable="false">
</ComplexType> {code}
Â



--
This message was sent by Atlassian Jira
(v8.3.3#803004)


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