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-989) 5.1.2 $expand: state that $levels=1 is equivalent to omitting it


Ralf Handl created ODATA-989:
--------------------------------

             Summary: 5.1.2 $expand: state that $levels=1 is equivalent to omitting it
                 Key: ODATA-989
                 URL: https://issues.oasis-open.org/browse/ODATA-989
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: OData URL Conventions
    Affects Versions: V4.0_ERRATA03
         Environment: Proposed
            Reporter: Ralf Handl
            Priority: Minor
             Fix For: V4.01_WD01, V4.0_ERRATA04


We don't explicitly state that $levels=1 has no effect.

This can only be deduced from Example 99: all employees with their manager, manager's manager, and manager's manager's manager

http://host/service/Employees?$expand=ReportsTo($levels=3)

This would mean that $expand=ReportsTo(levels=1) is all employees with their manager, i.e. same as just $expand=ReportsTo



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


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