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 option to throw on missing config option #47

Open
svenluijten opened this issue Dec 7, 2023 · 0 comments
Open

Add option to throw on missing config option #47

svenluijten opened this issue Dec 7, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@svenluijten
Copy link
Owner

Would be nice if we could configure the Store to throw an exception when a value can't be found, instead of falling back to null by default. The API could look like this:

new Store($file, new Json(), throw: true)
@svenluijten svenluijten added the enhancement New feature or request label Dec 7, 2023
@svenluijten svenluijten self-assigned this Dec 7, 2023
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