4 ms·
I've looked quite extensively at Postgraphile and the extensive dependency on database functions and sql is an issue. Really hard to write tests and SQL itself
by tobyhede 6y ago
I've looked quite extensively at Postgraphile and the extensive dependency on database functions and sql is an issue. Really hard to write tests and SQL itself is not the greatest programming language. The whole setup lacks so many of the affordances of modern environments.
- lukeramsden 6y ago> SQL itself is not the greatest programming language SQL has been the biggest flaw in this stack for me. I love using PostgREST/Postgraphile et al, but actually writing the SQL is just... eh. Maybe (lets hope) EdgeDB's EdgeQL or something similar could rectify this. The same Postgres core database and introspection for Postg{REST,raphile} but with a much improved devx
- tobyhede 6y agoI was wondering of the V8 engine integration would be something to play with, but think ot just adds inefficiency and doesn't really fix some of the core problems.
- rishav_sharan 6y agoWhy would you need to write SQL if you are using grapql on postgraphile? Graphql queries are much simpler anyway.
- lukeramsden 6y agoBecause you have to write the schema and role and row-based security rules in SQL.