3 ms·
That’s the exact opposite of what the GP is suggesting. Read this again: > Business logic is the real killer. Have one person suck it up and do it in typescrip
by throwup238 1y ago
That’s the exact opposite of what the GP is suggesting. Read this again:
> Business logic is the real killer. Have one person suck it up and do it in typescript (sorry y'all) on the GQL/apollo server and all the clients can ingest it easy.
Move the logic to the GQL retriever so that clients don’t have to implement business logic.
- noduerme 1y agoYeah, I understood what they said. I'm wondering why the previous owners of the code decided to put business logic in the client.
- virtue3 1y agowe had a lot of very talented iOS devs that started running away with feature development when the server team couldn't keep up. This really hurt the android + web client teams. Eventually our backend started changing (mono-rail -> microservices) and it turned into an absolute cluster of trying to massage/cram new data models into the existing ones the iOS team created. Late stage startup and then post finding product market fit problems.
- sunnybeetroot 1y agoOP is likely talking about local business logic, ie password field is min 3 chars long. You validate that in the FE before sending it up to get instant feedback to the user (yes you also have it on the server).