> This one is annoying, but easily solvable by making your own return type that implements IntoResponse
You can just call `.into_response()` like documented here https://docs.rs/axum/latest/axum/response/index.html#returni...
> I'm not sure what you're talking about? You just add `Cookies` extractor to your handler and use that. You don't need to add it to the return, middleware takes care of it.
I think you're thinking of tower-cookies which works the same way poem's CookieJarManager does.
axum-extra's cookies work differently in that you have to return the updated jar from handlers. We chose this design because it composes better when you have multiple libraries that all wanna set cookies. tower-cookies doesn't work if you accidentally add multiple cookie middleware, whereas axum-extra's approach does. So its a trade-off.