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

Remove SwitchDescriptor in favor of BooleanSettingDescriptor #1566

Merged
merged 2 commits into from
Nov 1, 2022

Conversation

rytilahti
Copy link
Owner

New BooleanSettingDescriptor allows defining boolean settings, so having
a separate handling for switches is unnecessary and just complicates the code.

This can be used to define boolean settings instead of having a separate SwitchDescriptor
This also initializes 'extras' for all settings
BooleanSettingDescriptor allows defining boolean settings, so having
a separate handling for switches is unnecessary and just complicates the code.
@rytilahti rytilahti changed the title Remove redundant SwitchDescriptor in favor of BooleanSettingDescriptor Remove SwitchDescriptor in favor of BooleanSettingDescriptor Nov 1, 2022
@rytilahti rytilahti merged commit 93a4a7c into master Nov 1, 2022
@rytilahti rytilahti deleted the janitor/deprecate_switches branch November 1, 2022 21:19
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