Skip to content

Conversation

@GeorgeMac
Copy link
Contributor

I noticed when I had a field which implemented flag.Value and I registered it using AddStruct that the default wasn't being respected. This adds support this by wrapping the flag.Value in another implementation which tracks if Set is called and returns the default if not.

@peterbourgon
Copy link
Owner

PTAL at #143

@peterbourgon
Copy link
Owner

Should be fixed by #148

@GeorgeMac
Copy link
Contributor Author

Thank you!

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.

2 participants