r/dotnet•
quyvu01

How do we mapping data between services with less effort?

I’m working on a project where multiple services need to exchange and enrich data with each other. For example, Service A might only return an addressId, but to present a full response, I need to fetch the full address from Service B.

Manually wiring these transformations and lookups across services feels messy and repetitive. I’m curious how others here approach this problem:

  • Do you rely on something like a central API gateway/GraphQL layer to handle data stitching?
  • Do you define mapping logic in each service and let clients orchestrate?
  • Or maybe you’ve built custom tooling / libraries to reduce the boilerplate?

Would love to hear how you’ve tackled this kind of cross-service data mapping with less effort and cleaner architecture.

Posted Oct 5, 2025, 3:47 PM UTC

848
Loading comments…