Closed Giesch closed 4 years ago
Thanks for your contribution! I'll take a more detailed look over the next few days.
Thanks @Giesch - master has moved on a bit - would you like to rebase your changes on master so it can be merged in? In terms of error handing - there are many crates for handling this but just using enums as you've done is perfectly fine until it becomes obvious something else is needed.
This resolves the merge conflicts and removes the 'public user' stuff that was basically duplicated.
Great, thanks for your contribution @Giesch :+1:
I'd love to get feedback on this. I feel like there's probably a better way to do error handling, but I don't know the ecosystem well enough. I'm also not sure if the 'into PublicUser' conversion really belongs in the app or web layer.