What S
in Router<S>
means
#3218
Closed
wkordalski
started this conversation in
Ideas
Replies: 2 comments
-
Sure, we can definitely link that both from the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Resolved in #3235 |
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
-
Feature Request
I've just started writing a project using Axum and spend too much time debugging how to pass
Router<MyState>
toaxum::serve
.Finally I found a "What
S
inRouter<S>
means" section deep in theRouter::with_state(..)
documentation.Don't you think that such important information should be placed in a more representative place, like
Router
struct documentation?Or at least shouldn't there (in
Router
documentation) be a link to the paragraph or to thewith_state(..)
method?Beta Was this translation helpful? Give feedback.
All reactions