Clarify: PATCH should allow changing type on nested complex type

    • Type: New Feature
    • Resolution: Duplicate
    • Priority: Minor
    • V4.01_ERRATA01
    • Affects Version/s: V4.01_OS
    • Component/s: Protocol
    • None
    • Hide

      A complex-typed property can be set to different type in a PATCH request by specifying a different type in the payload.  Properties shared through inheritance, as well as dynamic properties, are retained (unless overwritten by new values in the payload). Other properties are discarded.

      Show
      A complex-typed property can be set to different type in a PATCH request by specifying a different type in the payload.  Properties shared through inheritance, as well as dynamic properties, are retained (unless overwritten by new values in the payload). Other properties are discarded.
    • Hide

      Duplicate of ODATA-1472

      Show
      Duplicate of ODATA-1472

      We state that PATCH semantics to an entity also applies PATCH semantics to any provided complex-typed properties. However, we don't say whether a PATCH to an entity can change a complex-typed property to a different complex type.

      While we (explicitly) prohibit changing the type of an instance of an entity type (since an instance of an entity type has identity) it should be possible to change the a complex-typed property to a property of a value of a different type.

            Assignee:
            Unassigned
            Reporter:
            Michael Pizzo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: