Structural properties: default for $Nullable is false in CSDL JSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • V4.01_CSD02
    • Affects Version/s: V4.01_CSD01
    • Component/s: CSDL JSON
    • None
    • Hide

      Simplify the handling of null values in JSON by making $Nullable false the default value for all usages in JSON CSDL. Additionally, we clarify the meaning of $Nullable = true for a collection (that it allows null values within the collection) and disallow $Nullable=true for collection-valued navigation properties.

      Show
      Simplify the handling of null values in JSON by making $Nullable false the default value for all usages in JSON CSDL. Additionally, we clarify the meaning of $Nullable = true for a collection (that it allows null values within the collection) and disallow $Nullable=true for collection-valued navigation properties.
    • Show
      https://www.oasis-open.org/committees/download.php/61609/odata-csdl-json-v4.01-wd02-2017-09-21.docx

      Section 7.2.1 incorrectly states that an omitted $Nullable member means "false". This is contrary to its CSDL XML default as well as the default for $Nullable for parameters, return types, and navigation properties.

      http://docs.oasis-open.org/odata/odata-csdl-json/v4.01/csprd01/odata-csdl-json-v4.01-csprd01.html#sec_Nullable

            Assignee:
            Unassigned
            Reporter:
            handl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: