Re:Why use Rust on the back end?
by hot_gril on Tuesday March 21, 2023 @12:55PM
(#35248976)
Small clarification, the tests aren't on the DB queries alone. Like it spins up a test backend, calls some API endpoints to seed the DB, then calls some others to test their behavior. It's not specifically looking for type problems, but those would easily cause test failures too (e.g. I sign up a user named "Bob" and his name comes back as "undefined").
[ Parent
| on HN ]
Ah, in that case, I'm much less interested :D , because that would mean that you let the untypedness of the DB queries propagate through pretty much the entire codebase.