You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clarify how to handle default value on non-nullable optional properties when "default" keyword is not specified #2805
assume default to be of same type as type, so for non-nullable types that would be
"boolean" => false
"object" => { }
"array" => [ ]
"number"/"integer" => 0
"string" => ""
make it required to specify the default keyword when required: false and nullable: false
ignore the provided required: false and assume instead required: true
changed the title [-]Clarify how to handle default value on non-nullable optional parameters when "default" keyword is not specified[/-][+]Clarify how to handle default value on non-nullable optional properties when "default" keyword is not specified[/+]on Nov 29, 2021
Activity
[-]Clarify how to handle default value on non-nullable optional parameters when "default" keyword is not specified[/-][+]Clarify how to handle default value on non-nullable optional properties when "default" keyword is not specified[/+]