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Â[Â$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.

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:

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

Is this a bug or an intentional omission?

This message was sent by Atlassian Jira

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