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

Update builder config checks #14

Merged
merged 2 commits into from
Jun 16, 2022
Merged

Update builder config checks #14

merged 2 commits into from
Jun 16, 2022

Conversation

j-webb
Copy link
Owner

@j-webb j-webb commented Jun 16, 2022

Extension of the original PR #13, thanks @rneal-ck.

I decided to attach the with methods directly on the builder to avoid any config confusion. I've also updated the other checks to use the double not operator to cast any config values to bools when needed.

rneal-ck and others added 2 commits March 30, 2022 16:41
Currently, if a config value is set to false, it won't be passed into the UnleashBuilder's `with*` methods, leaving them with their default values.
Moved `automatic_registration` and `metrics` flags directly into builder to avoid issues overriding with false statements
Updated `cache` and `api_key` checks
@j-webb j-webb merged commit 240ef3c into master Jun 16, 2022
@j-webb j-webb deleted the builder-overrides branch June 16, 2022 13:04
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.

None yet

2 participants