-
-
Notifications
You must be signed in to change notification settings - Fork 141
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
xor isn't supported with enum flags #215
Comments
PS when is your next release tag planned? I would like an official tag with the fix for multiple xor groups, please. |
Huhh, interesting bug, thanks for the report. Re. release you can use |
On reflection does this make sense? |
I thought the purpose of
E and G are mutually exclusive. I would like the field that backs G to be assigned an empty value if not chosen but you now require some non-empty value for default. I'd prefer not to expose the default value as a user choice since it makes no sense to pass Maybe the "ideal" interface is to have a single switch which combines all the possible authentication types into one list but I have backwards compatibility requirements to abide by. |
I more meant that there's no way to differentiate between That said, it's not clear to me what the right solution here is :\ |
I'd like to be able to xor two flags, where one flag is a string with lots of options and another flag is a bool. If the user uses the bool the enum flag should get assigned its default value.
IE this test should pass:
Today it fails
The text was updated successfully, but these errors were encountered: