Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.01_CS01
    • Fix Version/s: V4.01_CS02
    • Component/s: Protocol
    • Labels:
      None
    • Environment:

      Proposed

    • Proposal:
      Hide

      Nullable singleton should have identical semantics to a nullable single-value contained navigation property.

      If a singleton is null, a service may support upserting it via PATCH or PUT, and can announce  this with annotation Capabilities.UpdateRestrictions/Upsertable:true, see ODATA-1005.

      If a singleton is nullable, a service may support deleting it via DELETE. By default nullable singletons are deletable, and the service can announce that it is not deletable with annotation Capabilities.DeleteRestrictions/Deletable:false, see ODATA-1005. (Note: the default for this annotation is Deletable:true because it also applies to entity sets and has been around for some time.)

      Show
      Nullable singleton should have identical semantics to a nullable single-value contained navigation property. If a singleton is null, a service may support upserting it via PATCH or PUT, and can announce  this with annotation Capabilities.UpdateRestrictions/Upsertable:true , see ODATA-1005 . If a singleton is nullable, a service may support deleting it via DELETE. By default nullable singletons are deletable, and the service can announce that it is not deletable with annotation Capabilities.DeleteRestrictions/Deletable:false , see ODATA-1005 . (Note: the default for this annotation is Deletable:true because it also applies to entity sets and has been around for some time.)
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/65433/odata-v4.01-wd06-part1-protocol-2019-06-07.docx  

      Description

      ODATA-1183 introduced nullable singletons:

      • Can they be created if they are currently null?
      • Can they be deleted if they are currently not null?

      Protocol section 11.4.5 Delete an Entity currently states that singletons cannot be deleted.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: