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


     [ https://issues.oasis-open.org/browse/ODATA-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-1128:
------------------------------

    Description: 
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.

  was:
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.


> 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
>    Affects Versions: V4.01_CSD03
>         Environment: Proposed
>            Reporter: Ralf Handl
>             Fix For: V4.01_CS01
>
>
> 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)


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