Open tyilo opened 1 week ago
Good question. Do we have a use-case for users to mention this feature in the book @Kijewski ?
No, we don't. Yes, it's bad that we mention the features in the book.
The rest of the description looks wrong, too. E.g. not an empty message in returned for errors, but e.g. an ErrorResponse which can be caught, styled, etc. by a handler, if I'm not mistaken.
As you can't just use
rinja::Template
with thewith-axum
feature enabled, but need to userinja_axum
instead andrinja_axum
automatically enables thewith-axum
feature, the feature is basically only needed for internal use.If you already depend on
rinja_axum
, you will never need to enable thewith-axum
feature, so why expose this feature to the users of the library?