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

Validate format patterns when parsing the configuration #79

Open
plannigan opened this issue Jan 1, 2023 · 0 comments
Open

Validate format patterns when parsing the configuration #79

plannigan opened this issue Jan 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@plannigan
Copy link
Owner

Is your feature request related to a problem? Please describe.
When reading the configuration file, the only validation that happens for format patterns is ensuring they are strings. However, there are a number of issues that can exist in that string. These errors are caught at run time, but it might be possible to catch them earlier.

Describe the solution you'd like
Have a mechanism for checking that the format pattern does not reference invalid keys or is somehow invalidly structured before attempting to use it.

@plannigan plannigan added the enhancement New feature or request label Jan 1, 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