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

Added support for removing/resetting all flag values in a given FlagValueSource #80

Merged
merged 2 commits into from
Jun 12, 2021

Conversation

bok-
Copy link
Contributor

@bok- bok- commented Jun 12, 2021

📒 Description

Added FlagPole.removeFlagValues(in:) to be able to remove / clear / reset all of the values in a given FlagValueSource. It works by discovering all of the non-nil flag keys inside the FlagValueSource and then setting it to nil.

📓 Documentation Plan

A separate PR is coming today to uplift the whole documentation site to DocC. The new options will be included then. (Reinstalling swift-doc on my new Mac is harder than I remember)

🗳 Test Plan

Additional tests were added

🧯 Source Impact

This change is additive only.

✅ Checklist

  • I've added at least one test that validates that my change is working, if appropriate
  • I've followed the code style of the rest of the project
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary

@bok- bok- added enhancement New feature or request minor A minor change according to semver labels Jun 12, 2021
@bok- bok- enabled auto-merge June 12, 2021 09:24
@bok- bok- disabled auto-merge June 12, 2021 12:55
@bok- bok- merged commit 9f0e6dd into main Jun 12, 2021
@bok- bok- deleted the reset-flag-values branch June 12, 2021 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor A minor change according to semver
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant