Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Improve perf, migrate query params to middleware (#52)
This PR: - Allows the option to optimize for small requests via `start_small_load_optimized` - Moves query params into a middleware so not all routes are slowed by processing query parameters by default - Removes safety check from middleware. If, for example, a terminal piece of middleware calls next, you'll see an exception. This might be added back in in the future.
- Loading branch information
Showing
20 changed files
with
450 additions
and
302 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Contributing | ||
|
||
All thoughts and PRs are welcome! Feel free to add any thoughts or discussions as issues via github, or reach out via [gitter](https://gitter.im/thruster-rs/). | ||
|
||
## Making Changes | ||
In order to add or change code in the repository, please open a pull request and reference the issue that the PR resolves in the description. | ||
|
||
## We're small! | ||
This is still a small project, so go crazy :) |
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
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.