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-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)


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