OASIS Open Data Protocol (OData) TC

 View Only
  • 1.  [OASIS Issue Tracker] (ODATA-1483) Expand all containment navigation properties recursively

    Posted 10-15-2021 11:42
    Ralf Handl created ODATA-1483: --------------------------------- Summary: Expand all containment navigation properties recursively Key: ODATA-1483 URL: https://issues.oasis-open.org/browse/ODATA-1483 Project: OASIS Open Data Protocol (OData) TC Issue Type: Improvement Components: URL Conventions Affects Versions: V4.01_OS Environment: Proposed Reporter: Ralf Handl Fix For: V4.02_WD01 Containment navigation properties are often used to model "structured documents" where each of the "parts" is identifiable within its "container". The proposed new expand syntax allows convenient retrieval of complete documents without having to inspect {{$metadata}}. -- This message was sent by Atlassian Jira (v8.3.3#803004)


  • 2.  RE: [odata] [OASIS Issue Tracker] (ODATA-1483) Expand all containment navigation properties recursively

    Posted 10-18-2021 17:44
    The proposal is proposed use of expand is ambiguous w.r.t. containment. Could we use tokens: (+contained, +referenced) or ($contained, $referenced)? These can be combined to get navigation properties. George Internal Use - Confidential


  • 3.  RE: [odata] [OASIS Issue Tracker] (ODATA-1483) Expand all containment navigation properties recursively

    Posted 10-19-2021 07:25
    Actually I only want to expand the containment navigation properties, no ambiguity there. Use case is "document-style" APIs, with containment defining what is part of a "document", starting from the root node. Do you have a use case for expanding all non-containment navigation properties?