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] Commented: (ODATA-476) Clarify that type-cast segments are required for properties of derived types in system query options


    [ http://tools.oasis-open.org/issues/browse/ODATA-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34774#action_34774 ] 

Michael Pizzo commented on ODATA-476:
-------------------------------------

It doesn't do a parser any good to say that they are optional. In general we try to avoid optionality unless it provides some significant benefit.

As in OData V3, we should require the cast to access properties of the derived type.

> Clarify that type-cast segments are required for properties of derived types in system query options
> ----------------------------------------------------------------------------------------------------
>
>                 Key: ODATA-476
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-476
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData URL Conventions 
>    Affects Versions: V4.0_CS01
>         Environment: [Proposed]
>            Reporter: Ralf Handl
>             Fix For: V4.0_CSD03
>
>
> We allow type-cast segments in expressions, but we don't specify whether they are required.
> As a property name is unique within an instance, the type-cast segment is not necessary for evaluating the expression, but it helps evaluating the expression.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


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