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

refactor(middleware): register transforms per route via route middleware #59

Merged
merged 7 commits into from
Feb 6, 2023

Conversation

ComfortablyCoding
Copy link
Contributor

@ComfortablyCoding ComfortablyCoding commented Feb 5, 2023

This PR refactors the codebase to register the transform middleware on a per route basis instead of as a server middleware.

In doing so it provides us with the following benefits:

  • better control over registered routes
  • No requirement to ensure route are API or not

@ComfortablyCoding ComfortablyCoding self-assigned this Feb 5, 2023
@ComfortablyCoding ComfortablyCoding merged commit 305b391 into master Feb 6, 2023
@ComfortablyCoding ComfortablyCoding deleted the refactor-use-route-middleware branch February 6, 2023 05:18
@ComfortablyCoding ComfortablyCoding added the enhancement New feature or request label Feb 8, 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

Successfully merging this pull request may close these issues.

None yet

1 participant