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 usage showing zero defaults for custom Value type #361

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

twelvelabs
Copy link

The defaultIsZeroValue() method was erroneously assuming that all types that implement IsBoolFlag() were bools - regardless of the return value of IsBoolFlag().

Fixes #360

The defaultIsZeroValue() method was erroneously assuming that all types that implement IsBoolFlag() were bools - regardless of the return value of IsBoolFlag().

Fixes spf13#360
@CLAassistant
Copy link

CLAassistant commented Sep 22, 2022

CLA assistant check
All committers have signed the CLA.

@twelvelabs
Copy link
Author

Not sure who the current maintainers are, so pinging recent last few folks who've approved/merged PRs 😬.

@therealmitchconnors, @eparis, @spf13 - would anyone mind taking a look?

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.

Value's that implement IsBoolFlag() always show a default value
2 participants