Replies: 1 comment 5 replies
-
|
There is no way around Generally, you shouldn't need to use I could see a case for making IDs associated types of That said, I'm not really clear on how |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Been using both this and axum-login and in that crate I really like how
AuthUseris handled, it makes me particularly aware of the fact thatRecordis not handled the same way in tower-sessions and that I need to work around the struct.This is especially painful when it uses
timewhen I usechronofor my worker-rs project due to the fact that worker-rs uses chrono, which leaves me in the amazing position of having to convert between the two time formats.I'm not sure there's an easy way to solve that particular issue, since you guys have to choose something internally, so at the very least I'd have to convert to that (though with a bigger refactor even this could be worked around I think), but it would be nice to not have to convert the
idanddatafields at least. Are there any plans to improve this part of the API?Beta Was this translation helpful? Give feedback.
All reactions