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

Add Igniter.Project.Config.remove_configuration #67

Open
ibarakaiev opened this issue Aug 3, 2024 · 0 comments
Open

Add Igniter.Project.Config.remove_configuration #67

ibarakaiev opened this issue Aug 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ibarakaiev
Copy link
Contributor

ibarakaiev commented Aug 3, 2024

Is your feature request related to a problem? Please describe.
Currently, it is possible to configure keys, but not possible to remove existing configured keys.

Describe the solution you'd like
Config.remove_configuration or Config.remove_key or something like that.

Describe alternatives you've considered
It's currently possible to run Config.configure/6 and pass nil or [] or Keyword.remove_keyword_key/2 to clear the configuration, but it would be ideal if there's a dedicated function to remove configuration instead, which should also remove the entire config :key ... line as well if everything became empty.

@ibarakaiev ibarakaiev added the enhancement New feature or request label Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant