hello friends, if you have any experience writing back-end services in rust pls tell me about your experiences here! what frameworks (if any) did you like, did you run into any trouble, did you find any benefits, etc. Any feedback is welcome tyvm!
-
Show this thread
-
Replying to @monadliker
Web backend but still applies: testing with diesel is annoying. Still haven't figured out how to do real unit testing (i.e. no db connection) when any connection pool related types go anywhere near what I'm working on. Otherwise pretty positive
3 replies 0 retweets 1 like -
Replying to @shinyprofile
Curious what you mean by real unit testing without a DB connection wrt Diesel?
1 reply 0 retweets 0 likes -
Replying to @sgrif
See this discussion here: https://users.rust-lang.org/t/unit-testing-diesel-code/21196/2 … I mean, maybe it's a bit of a testing purism thing but generally speaking it's nice to be able to get your dependencies out of the way and test the code you've actually written.
1 reply 0 retweets 0 likes -
Replying to @shinyprofile
Yeah I've read that thread but I still am not sure I'm understanding you. For testing the code you've actually written (that I'm assuming isn't database related since you don't want a database), I'm not clear how Diesel is getting in the way
1 reply 0 retweets 0 likes -
Replying to @sgrif
(this isn't an attempt to criticise your opinion just trying to understand if there's something we can improve)
1 reply 0 retweets 0 likes -
Replying to @sgrif
Yeah I understand. I think I'll have to come back to this later, though - I can't see myself articulating this properly through the medium of my phone's twitter client
1 reply 0 retweets 0 likes
No worries totally understand :)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.