Skip to content

Array attributes should by default have an empty array default - #161

Merged
jrochkind merged 1 commit into
dev_v2from
array_default
Dec 21, 2022
Merged

Array attributes should by default have an empty array default#161
jrochkind merged 1 commit into
dev_v2from
array_default

Conversation

@jrochkind

@jrochkind jrochkind commented Dec 20, 2022

Copy link
Copy Markdown
Owner

Array types now default to an empty array. If you'd like to turn that off, you can use the somewhat odd default: AttrJson::AttributeDefinition::NO_DEFAULT_PROVIDED on attribute definiton. Thanks @g13ydson for suggestion in #149

… off, you can use the somewhat odd `default: AttrJson::AttributeDefinition::NO_DEFAULT_PROVIDED` on attribute definiton.
@jrochkind
jrochkind merged commit ecdf281 into dev_v2 Dec 21, 2022
@jrochkind
jrochkind deleted the array_default branch December 21, 2022 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants