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-927) Explicitly disallow existing nested items in Deep Insert


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

Michael Pizzo updated ODATA-927:
--------------------------------

    Proposal: 
Clarify that, when doing a POST:
1) You can include new entities and references to existing entities, but not content for existing entities
2) The end result of the POST is that the existing (references) and new (entities) are the full set of entities related according to that relationship.

  was:Clarify that it is an error to include the content of an existing resource (not just its reference) in a POST.


> Explicitly disallow existing nested items in Deep Insert
> --------------------------------------------------------
>
>                 Key: ODATA-927
>                 URL: https://issues.oasis-open.org/browse/ODATA-927
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData Protocol
>    Affects Versions: V4.0_ERRATA03
>         Environment: [Proposed]
>            Reporter: Michael Pizzo
>             Fix For: V4.01_WD01
>
>
> In OData-666 we deprecated @odata.bind in favor of just using references in the related collection. This allows us to create a new entity that either creates nested entities (if the entire resource is new) or relates to existing entities (by providing just the reference).
> We should be clear that it is an error to include the content of an existing resource (not just its reference) in a POST.



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