I understand this stuff is "cool" but this is only one step removed from db->query(input[sql]). I'm not talking about SQL injection either, I'm talking about wholesale data exfiltration of your entire database because you've auto-generated some slick GraphQL API and you don't take the time to think through what should, and should not, be exposed to end users or bother to implement any form of access control.
GraphQLize: JVM library to build GraphQL API instantly from PostgreSQL and MySQL
21–30 of 61 posts
Re: GraphQLize: JVM library to build GraphQL API instantly from PostgreSQL and MySQL
#22Been playing around with GraphQL in the last day or so and just can't see any reason to use it over REST (or REST + an ORM). Am I missing something? Is it just so people don't have to learn SQL?
EDIT: It was awesome, and I kind of miss it, but it was too much to maintain within our constraints.
Re: GraphQLize: JVM library to build GraphQL API instantly from PostgreSQL and MySQL
#23I understand this stuff is "cool" but this is only one step removed from db->query(input[sql]). I'm not talking about SQL injection either, I'm talking about wholesale data exfiltration of your entire database because you've auto-generated some slick GraphQL API and you don't take the time to think through what should, and should not, be exposed to end users or bother to implement any form of access control.
Re: GraphQLize: JVM library to build GraphQL API instantly from PostgreSQL and MySQL
#24I understand this stuff is "cool" but this is only one step removed from db->query(input[sql]). I'm not talking about SQL injection either, I'm talking about wholesale data exfiltration of your entire database because you've auto-generated some slick GraphQL API and you don't take the time to think through what should, and should not, be exposed to end users or bother to implement any form of access control.
Re: GraphQLize: JVM library to build GraphQL API instantly from PostgreSQL and MySQL
#25Re: GraphQLize: JVM library to build GraphQL API instantly from PostgreSQL and MySQL
#26That's what I find the most attractive about GraphQL. Large companies and companies that have grown fast often have all kinds of APIs made at different time by different people with different standards. GraphQL lets you paper over that without breaking existing, revenue making code.
Re: GraphQLize: JVM library to build GraphQL API instantly from PostgreSQL and MySQL
#27Earlier quoted context omitted.
Separate DB user per application user makes connection pooling difficult. And PostgreSQL has more costly connections
Pgbouncer
Re: GraphQLize: JVM library to build GraphQL API instantly from PostgreSQL and MySQL
#28Re: GraphQLize: JVM library to build GraphQL API instantly from PostgreSQL and MySQL
#29Been playing around with GraphQL in the last day or so and just can't see any reason to use it over REST (or REST + an ORM). Am I missing something? Is it just so people don't have to learn SQL?
Client-side shaping of queried data without directly writing SQL against a back-end database, and without having to pre-arrange queried data structure with the back-end.