Sunday 31 May 2020

What's the point of an API immediately wrap DB (prisma, hasura etc)

I mean I have not dived into the docs of those things but they just automatically sounds like a bad idea to me. You have your application logic to write anyway right? Why would you want API to map to DB one to one?If you end up having to write custom logic anyway why not just write it on top of a DB like normally, it's not hard to make a graphql endpoint without these services.

Submitted June 01, 2020 at 03:52AM by nsonha

No comments:

Post a Comment