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

feat(configuration): Allow app configuration to be validated against a schema #2590

Merged
merged 2 commits into from
Apr 4, 2022

Conversation

daffl
Copy link
Member

@daffl daffl commented Apr 4, 2022

This pull request adds the option for @feathersjs/configuration to validate the application configuration against a Feathers schema to more easily catch potential configuration errors early. It also adds a schema for the authentication configuration which can be re-used. This plays nicely with the new ability for TypeScript to make app.get() typed.

@daffl daffl merged commit a268f86 into dove Apr 4, 2022
@daffl daffl deleted the configuration-validation branch April 4, 2022 23:08
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

1 participant