Skip to content

Default value "" in schema will cast to undefined #267

Description

@GoodGuyGoose

When setting a property's value to an empty string in a schema, the schema will cast the value to undefined rather than retain the empty string. E.g:

"composition": {"\\$type": "string", "default": ""}
// will return undefined

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions