Haf
Haf

Reputation: 577

Where should I put DTO conversions in our cargo workspace?

I have a workspace with many microservices and many times I want to perform conversions between the DTOs of different services (e.g. convert the response of one service into a request for another). I'm having a hard time deciding where to put these conversions due to cargo rejecting cyclic dependencies. Some solutions I've thought of:

I'll take any ideas to solve this cleanly

Upvotes: 0

Views: 49

Answers (0)

Related Questions