Closed Keats closed 3 months ago
Ideally we would allow "magic" handler like in axum etc (https://github.com/alexpusch/rust-magic-function-params) but I don't think that would work with kwargs. Happy to be proven wrong though!
One change is that all of those should be able to get values from the context so you don't have to do lang=lang in Zola for example.
lang=lang
Ideally we would allow "magic" handler like in axum etc (https://github.com/alexpusch/rust-magic-function-params) but I don't think that would work with kwargs. Happy to be proven wrong though!
One change is that all of those should be able to get values from the context so you don't have to do
lang=lang
in Zola for example.