Repository navigation
Replies: 2 comments
|
With this approach what can I achieve:
Right now I just want to lock all my endpoints with auth, as I can see I could use Auth as argument of every function, but this could be easily achieve by adding a auth middleware, and in my tests I can use my handle http function |
0 replies
|
Thanks! we always want to see better ways to developer experience! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Feature Request
Sorry to boter you guys (again!)
Background:
I have worked with some top http frameworks like: cakephp, django, express, nest, fastify and elysia(bun) and I had to say that: any of those have incredible things to aggregate value to this project, should we only stay close to rails?
Describe the solution you'd like
PS* I've written this code on github interface I don't know if it will compile
I know about the part of dynamic dispatch but we can improve this, I see that this will be more verbose than the old fashion way, but I don't see if we will be good to keep the auth: Auth as a argument of my handle http request function.
By the way we are fighting against trade-offs what is best choice
I can't see right now what is the best way to go.
Describe alternatives you've considered
Create my own Router and uses that on top of axum.
All reactions