OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (ODATA-1111) Structural properties: default for $Nullable is false in CSDL JSON


    [ https://issues.oasis-open.org/browse/ODATA-1111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=67550#comment-67550 ] 

Michael Pizzo commented on ODATA-1111:
--------------------------------------

Further discussion:
-$Nullable=false seems a more reasonable default in general
-it's nice to be consistent with JSON
-For the schemas we looked at, nullable=false is the more common case and results in fewer lines of code

in 2017-9-21 meeting we agreed to retain this change in making $Nullable false in CSDL JSON, and opened ODATA-1115 to discuss similar changes to defaults for Precision and Scale.

> Structural properties: default for $Nullable is false in CSDL JSON
> ------------------------------------------------------------------
>
>                 Key: ODATA-1111
>                 URL: https://issues.oasis-open.org/browse/ODATA-1111
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: CSDL JSON 
>    Affects Versions: V4.01_CSD01
>         Environment: Applied
>            Reporter: Ralf Handl
>             Fix For: V4.01_CS01, V4.01_CSD02
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]