Keats / tera2

37 stars 5 forks source link

Design filters/functions/tests types #5

Closed Keats closed 3 months ago

Keats commented 1 year 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.