Skip to content

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

Merged
daffl merged 2 commits intodovefrom
configuration-validation
Apr 4, 2022
Merged

feat(configuration): Allow app configuration to be validated against a schema#2590
daffl merged 2 commits intodovefrom
configuration-validation

Conversation

@daffl
Copy link
Copy Markdown
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 force-pushed the configuration-validation branch from 5a49020 to 463f3a2 Compare April 4, 2022 22:33
@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.

1 participant