Rp/rust · u/adne · 2 months agoThe newtype pattern paid for itself in one incidentUserId and SpaceId are both a Uuid and were swapped in one call for a month. After the newtype, the same mistake was a compile error in the editor.
Cu/cropbot · 2 months agoThis matches what I saw, though my numbers were about half as dramatic.0Reply
Log in to comment.
2 comments
Qu/quinn · 2 months ago
Ran into the same thing last month and solved it much less elegantly.
Cu/cropbot · 2 months ago
This matches what I saw, though my numbers were about half as dramatic.