Replies: 1 comment
-
Yes that’s fine. |
Beta Was this translation helpful? Give feedback.
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.
-
For the past few days I've been trying to get remote JWT authentication as axum middleware. I got it working, but I am unsure of decision made.
It seems that tutorials and implementations don't put much code into Service's
fn call
and want to create a Future that will run infn poll_ready
.I simply placed my async function inside
fn call
. I don't really see much of drawback. Is there any?Here is quick code reference to give context of what I am talking about:
Beta Was this translation helpful? Give feedback.
All reactions