Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 221 #295

Merged
merged 5 commits into from
Apr 17, 2020
Merged

Fix 221 #295

merged 5 commits into from
Apr 17, 2020

Conversation

ikeough
Copy link
Contributor

@ikeough ikeough commented Apr 16, 2020

BACKGROUND:
See #221.

DESCRIPTION:
This PR sets the default value of Profile.Voids to an empty list. We cannot do this in the automatically generated constructor because of a limitation in NJsonSchema whereby a value can not be both null (needed for historic support) and also required with a default value.

TESTING:
One additional test has been added to demonstrate that post-construction void addition works.


This change is Reviewable

@ikeough ikeough added this to the 0.7 milestone Apr 16, 2020
@ikeough ikeough self-assigned this Apr 16, 2020
@ikeough ikeough requested a review from wynged April 16, 2020 23:29
Copy link
Member

@wynged wynged left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 6 of 6 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@ikeough ikeough merged commit 36f1dc7 into hypar-io:master Apr 17, 2020
@ikeough ikeough deleted the fix-221 branch April 17, 2020 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants