[OASIS Issue Tracker] (ODATA-1128) Clarify function imports in $filter and $orderby

From
OASIS Issues Tracker <>
Date
2017-10-27T11:09:09+00:00
ID
Thread
[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 11.5.3.1 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
(v6.2.2#6258)