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

use pointers to bools #29

Merged
merged 3 commits into from
Dec 14, 2021
Merged

use pointers to bools #29

merged 3 commits into from
Dec 14, 2021

Conversation

andreykaipov
Copy link
Owner

We need to be able to tell the difference between a false value, and an
unset value. Even though this change might make the UX kinda ugly if one
were to set the bools directly (e.g. &[]bool{true}[0]), it does make
the library more robust against future changes to the protocol.

We need to be able to tell the difference between a false value, and an
unset value. Even though this change might make the UX kinda ugly if one
were to set the bools directly (e.g. `&[]bool{true}[0]`), it does make
the library more robust against future changes to the protocol.
@andreykaipov
Copy link
Owner Author

addresses #27

@andreykaipov andreykaipov merged commit e7f636c into master Dec 14, 2021
@andreykaipov andreykaipov deleted the feature/three-valued-bools branch December 14, 2021 04:11
andreykaipov added a commit that referenced this pull request Dec 14, 2021
@andreykaipov andreykaipov mentioned this pull request Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant