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

config: flexible boolean processing from int value #856

Merged
merged 2 commits into from
Nov 18, 2023

Conversation

jdknight
Copy link
Member

For a boolean configuration entry, accept an integer representation of 0/1 to be used to represent a false/true state. This extension already accepted these values as string value, and allowing their integer variant should make things more flexible for users (if they desire).

For a boolean configuration entry, accept an integer representation of
0/1 to be used to represent a false/true state. This extension already
accepted these values as string value, and allowing their integer
variant should make things more flexible for users (if they desire).

Signed-off-by: James Knight <[email protected]>
@jdknight jdknight merged commit 01a3b74 into main Nov 18, 2023
27 checks passed
@jdknight jdknight deleted the flexible-boolean-cfg-values-with-ints branch November 18, 2023 14:48
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