4 ms·
> Then they are couple together. And then you will tend to design your API in a way this particular application is well deserved. We have a server which expose
by egeozcan 10y ago
> Then they are couple together. And then you will tend to design your API in a way this particular application is well deserved.
We have a server which exposes validation logic as a generated JS library (no server-side JS yet but we plan switching to Typescript) and that is used across many (more than 10) clients. I don't see any coupling. Changes in your models break the API regardless of you sharing anything.