Hacker News new | ask | show | jobs
by lf-non 2717 days ago
Postgraphile [1] is very close to what you are looking for.

It is really amazing what modern databases are capable of and at the same time also surprising that most applications in the wild don't use them to the fullest of their capabilities.

I have been personally exploring on ability to efficiently map GraphQL queries to database operations while retaining the ability to write business logic in typescript (which I currently believe offers the best compromise wrt type safety and flexibility among popular mainstream languages). My preliminary work is available on github [2] and I welcome any feedback and contributions.

[1] https://www.graphile.org/postgraphile/

[2] https://github.com/gql-dal/greldal

1 comments

Postgraphile is fantastic, in particular the function/row binding stuff that any python programmer would instantly recognize as implicit first argument self binding. We create graphql apis in minutes with it. No rolls, no restarts.