Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Correctly returning null when the value is default #495

Merged
merged 2 commits into from
Dec 4, 2017

Conversation

StanleyGoldman
Copy link
Contributor

Consumers of this struct should not have to check for Default
Default values are only used for correct serialization/deserialization

Consumers of this struct should not have to check for default values,
as they can use the nullable value
Copy link

@drguthals drguthals left a comment

Choose a reason for hiding this comment

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

LGTM

@StanleyGoldman StanleyGoldman merged commit 4796f99 into master Dec 4, 2017
@StanleyGoldman StanleyGoldman deleted the fixes/default-struct-null-check branch December 4, 2017 16:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants