Collection-valued property: Define default value for nullable facet

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • V4.0_ERRATA03
    • Affects Version/s: V4.0_ERRATA02
    • Component/s: CSDL XML
    • None
    • Environment:

      Applied

    • Hide

      Proposal:
      Absence of nullable facet on collection means it's unknown if you can insert nulls. You can try, but it may fail.
      Nullable=true means that the collection may contain null values (although attempting to insert a null value may still fail for a variety of reasons)
      Nullable=false means that the collection can not contain null values

      Show
      Proposal: Absence of nullable facet on collection means it's unknown if you can insert nulls. You can try, but it may fail. Nullable=true means that the collection may contain null values (although attempting to insert a null value may still fail for a variety of reasons) Nullable=false means that the collection can not contain null values
    • Hide

      Approved 2015-4-16 as proposed, with the cautionary note to the client that, in the absence of this facet, services may refuse collections with null values.

      https://www.oasis-open.org/committees/download.php/57688/odata-v4.0-wd08-part3-csdl-2016-03-03.docx

      Accepted: https://www.oasis-open.org/committees/download.php/57722/odata-meeting-123_on-20160310-minutes.html

      Show
      Approved 2015-4-16 as proposed, with the cautionary note to the client that, in the absence of this facet, services may refuse collections with null values. https://www.oasis-open.org/committees/download.php/57688/odata-v4.0-wd08-part3-csdl-2016-03-03.docx Accepted: https://www.oasis-open.org/committees/download.php/57722/odata-meeting-123_on-20160310-minutes.html

      We missed to spell out the default value for the Nullable facet. For single valued properties we defined the default value as true.

            Assignee:
            martinzurmuehl
            Reporter:
            martinzurmuehl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: