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-796) Add annotation to specify whether additional properties may be returned for an entity


    [ https://issues.oasis-open.org/browse/ODATA-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59601#comment-59601 ] 

Michael Pizzo commented on ODATA-796:
-------------------------------------

This should apply to complex types as well as entity types, since both can be open and both can contain dynamic properties (unless otherwise annotated)

> Add annotation to specify whether additional properties may be returned for an entity
> -------------------------------------------------------------------------------------
>
>                 Key: ODATA-796
>                 URL: https://issues.oasis-open.org/browse/ODATA-796
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: Vocabularies
>    Affects Versions: V4.0_ERRATA02
>         Environment: [Applied]
>            Reporter: Michael Pizzo
>             Fix For: V4.0_ERRATA03
>
>
> In OData V3 only opentypes were allowed to return properties not advertised in $metadata.
> In OData V4, for increased resiliency, we said that clients should be prepared to handle additional properties on any resource, and the introduction of PATCH as the preferred method for updating allows that to happen without loss.
> However, we lost the ability for a service to say that they will never return additional properties (which is probably the default case). Since clients are required to support additional properties we didn't think this was important, but as we look to a json-schema format it becomes interesting for telling clients (i.e., for validation) whether or not additional properties are allowed.



--
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]