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-1188) Allow using instance annotations in $select and $expand


Ralf Handl created ODATA-1188:
---------------------------------

             Summary: Allow using instance annotations in $select and $expand
                 Key: ODATA-1188
                 URL: https://issues.oasis-open.org/browse/ODATA-1188
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: URL Conventions
    Affects Versions: V4.01_CS01
         Environment: Proposed
            Reporter: Ralf Handl
             Fix For: V4.01_CS02


We already allow using instance annotations in $filter, $orderby, and $compute:
{code}
GET Stuff?$filter=@Core.Messages/any(m:m/severity eq 'error')
{code}

This indirectly allows using instance annotations in $select and $expand:
{code}
GET Stuff?$compute=@Core.Messages as _at_Core_dot_Messages
         &$select=*,_at_Core_dot_Messages($top=5)
{code}

Which is kind of ugly and loses the canonical name of the instance annotation





--
This message was sent by Atlassian JIRA
(v7.7.2#77003)


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