Skip to content

Conversation

@LukeMathWalker
Copy link
Owner

The registered middlewares are now properly validation by pavexc:

  • they take Next as input (once)
  • they return a type that can be converted into a Response (either directly or in the happy case)
  • they don't use generic parameters that we can't reliably infer

I did some refactorings along the way, especially in the component database (arguably the messiest part of the codebase).

@LukeMathWalker LukeMathWalker merged commit 7b2481c into main Aug 14, 2023
@LukeMathWalker LukeMathWalker deleted the mw2 branch August 14, 2023 09:54
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.

2 participants