Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-1378

Clarify use of $root with function imports

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.01_ERRATA01
    • Component/s: ABNF
    • Labels:
      None
    • Environment:

      Proposed

    • Proposal:
      Hide

      Extend ABNF to include function imports

      Show
      Extend ABNF to include function imports

      Description

      Section 5.1.1.14.5 $root says:
       

      The $root literal can be used in expressions to refer to resources of the same service.

      However the ABNF currently limits this to singletons, entities within an entity set, and everything reachable from there, including bound functions:

      rootExpr = '$root/' ( entitySetName keyPredicate / singletonEntity ) [ singleNavigationExpr ]

      Is this a bug or an intentional omission?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: