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-1128) Clarify function imports in $filter and $orderby

Ralf Handl created ODATA-1128:

             Summary: Clarify function imports in $filter and $orderby
                 Key: ODATA-1128
                 URL: https://issues.oasis-open.org/browse/ODATA-1128
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Bug
          Components: Protocol
         Environment: Proposed
            Reporter: Ralf Handl

Section Invoking a Function - http://docs.oasis-open.org/odata/odata/v4.01/csprd03/part1-protocol/odata-v4.01-csprd03-part1-protocol.html#sec_Functions - states

    Function imports MUST NOT be used inside either the $filter or $orderby system query options.

This somewhat defeats the purpose of $root, because it might be helpful to 

GET Stuff=$filter=ResponsibleUser eq $root/Me/Username

where Me is a function import returning a complex value - function import instead of singleton because it is read-only.

This message was sent by Atlassian JIRA

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