Just had a weird interesting case where Diesel reminded me that a query I thought was fine could actually fail in a very simple case. If I'd done the change I wanted to make this absolutely would have caused what used to result in a 404 to instead result in a 500
-
-
I'm curious about the details of what happened / how diesel caught this. Sounds like a good topic for
@_yakshave next time? -
Nah, not really. It's like less than a minute to discuss, not super interesting. Was basically just a reminder that subselects can return 0 rows which would have led to an error about trying to insert null in a really confusing fashion
- 2 more replies
New conversation -
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.