generated from 47ng/typescript-library-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Load plugins & routes from filesystem
Use `fastify-autoload` for plugins and routes rather than using `configure` and `routesDir` options (now deprecated). This allows passing full autoload configurations. Add `cleanupOnExit` to automate closing connections to external services when the server is closing. Reorder plugins to: - Be able to use loaded plugins decorators in health check - Disable graceful shutdown in tests Detect plugin loading errors and crash early (rethrow). Add unit tests & integration test server.
- Loading branch information
Showing
13 changed files
with
1,023 additions
and
500 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.