News for hackers. Stuff that matters.
Re:The semver trick (2019) by do_not_redeem on Thursday December 26, 2024 @03:09PM (#42517412)
Microservices only solve this because you have to serialize objects on the wire, no? You could accomplish the same within an app or lib by accepting a String and calling `serde_json::from_str` on it, avoiding the problems of microservices. Or more realistically, define your own struct and convert it to/from the dependency type at the interface boundary.
Re:The semver trick (2019) by hinkley on Thursday December 26, 2024 @03:20PM (#42517481)
Process boundaries tend to increase friction to exposing internal implementation details like this. They don’t fix the problem but they do discourage it.