[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1472) Clarify: PATCH should allow changing type on nested complex type
Michael Pizzo created ODATA-1472: ------------------------------------ Summary: Clarify: PATCH should allow changing type on nested complex type Key: ODATA-1472 URL: https://issues.oasis-open.org/browse/ODATA-1472 Project: OASIS Open Data Protocol (OData) TC Issue Type: New Feature Components: Protocol Affects Versions: V4.01_OS Environment: Proposed Reporter: Michael Pizzo Fix For: V4.01_ERRATA01 We say that a PATCH request to an entity with a complex type in the payload also patches the nested complex type (i.e., it only affects the properties specified in the request). We don't say whether or not the PATCH request can change the complex type of the nested property. While changing the type of an entity should not be allowed (and is, in fact, explicitly prohibited) because entities define an *instance*, the type of a complex-typed property should be able to be changed in a PATCH request by specifying a new complex type (i.e., @odata.type) in the payload. -- This message was sent by Atlassian Jira (v8.3.3#803004)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]