DEV Community


Discussion on: Do I really need to create classes in two places?

rhymes profile image

You can't escape that, especially because they are two different applications, even if one is the client and the other the server.

Keep in mind that you don't know if those two models will evolve the same way even if now it seems you have two identical domain objects...