News for hackers. Stuff that matters.
Re:How to Design Software Architecture for Startups by Scarblac on Monday May 08, 2023 @03:08PM (#35865760)
Yes, but that's not his point. Obviously Galactus has some internal user data structure that is private to it.

But there's also something going over the wire, as a response from Galactus' API, and consumed by one of more other services.

His question was, shouldn't the knowledge of the structure of that be in some type of shared code?

Re:How to Design Software Architecture for Startups by dvd23 on Tuesday May 09, 2023 @04:56PM (#35880271)
IMO if that structure is autogenerated from the API specs (like protobuf, OpenAPI, ...), it's not needed to share it. Plus you can make it evolve at the pace of each service, if your API keeps backwards compatibility.