DEV Community

loading...

Discussion on: End-to-end Type Safety in Clean Architecture

Collapse
5422m4n profile image
Sven Assmann

Makes perfectly sense, especially when there are more external interfaces that just GQL that needs to be served by the same domain model.
There might just be the down side that the external representation and the domain model are now identical. You cannot easily have a different internal domain model / storage representation than your external GQL Model. But mostly that’s fine.

Forem Open with the Forem app