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

Figure out a nice way to pass variables/context from the middlewares to the handlers #21

Open
laytan opened this issue Sep 15, 2023 · 0 comments
Labels
enhancement New feature or request server

Comments

@laytan
Copy link
Owner

laytan commented Sep 15, 2023

Not sure of a good solution, the size and amount should arbitrary because there are numerous middleware applications, which is probably not possible in a type safe manner, I'm thinking about an object that pass through handlers, but there could be multiple middlewares that want to add stuff.

@laytan laytan added enhancement New feature or request server labels Sep 15, 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 server
Projects
None yet
Development

No branches or pull requests

1 participant