← Prev in month ← Prev in thread
Next in thread → Next in month →

[OASIS Issue Tracker] (ODATA-1378) Clarify use of $root with function imports

From
OASIS Issues Tracker <>
Date
2020-06-03T09:13:05+00:00
ID
Thread
[OASIS Issue Tracker] (ODATA-1378) Clarify use of $root with function imports
Ralf Handl created ODATA-1378:
---------------------------------

             Summary: Clarify use of $root with function imports
                 Key: ODATA-1378
                 URL: https://issues.oasis-open.org/browse/ODATA-1378
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: ABNF
    Affects Versions: V4.01_OS
            Reporter: Ralf Handl
             Fix For: V4.01_ERRATA01


SectionÂ[5.1.1.14.5Â$root|https://docs.oasis-open.org/odata/odata/v4.01/os/part2-url-conventions/odata-v4.01-os-part2-url-conventions.html#sec_root] says:
Â
{quote}TheÂ$rootÂliteral can be used in expressions to refer to resources of the same service.
{quote}

However the [ABNF|https://github.com/oasis-tcs/odata-abnf/blob/master/abnf/odata-abnf-construction-rules.txt#L501] currently limits this to singletons, entities within an entity set, and everything reachable from there, including bound functions:

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

Is this a bug or an intentional omission?



--
This message was sent by Atlassian Jira
(v8.3.3#803004)
← Prev in month ← Prev in thread
Next in thread → Next in month →