Open kamil-koziol opened 4 months ago
Transform
pub fn echo(_request: &Request, _params: RouteParams) -> Result<Response> { let msg = _params.params.get("msg").unwrap(); // ... }
to
pub fn echo(_request: &Request, msg: String) -> Result<Response> { // ... }
https://promethia-27.github.io/dependency_injection_like_bevy_from_scratch/introductions.html
Transform
to