How Axum resolves the arguments in the caller?

I want to understands how Axum resolves all the variations of arguments a handler needs during the calling of the handler and a simple example of how to implement that feature in my own library.
Thanks

In short, there are a bunch of implementations for functions (one for every length) whose arguments all implement a trait that allows them to know how to create the argument (or rather, the argument creates itself). For more see:

https://promethia-27.github.io/dependency_injection_like_bevy_from_scratch/introductions.html

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.