News for hackers. Stuff that matters.
Re:GraphJin – GraphQL to SQL Compiler by mdaniel on Wednesday June 01, 2022 @03:24PM (#31586757)
There are existing frontend tools that can compose GraphQL but only string builders can compose SQL, AFAIK; it also seems to act as a "paper over the underlying database specifics" by using what seems to be MongoDB-esque criteria: https://github.com/dosco/graphjin/wiki/Guide-to-GraphQL#othe... meaning the consumer need not know the postgres-vs-mysql-isms (in theory, of course)

Also, don't overlook the whiz-bang of the GraphQL introspection tooling -- it's super handy for just kicking the tires on something in ways that "dump the SQL schema to the browser" likely wouldn't do

The related pg_graphql posted a while back (https://news.ycombinator.com/item?id=29430720) actually mentions GraphJin positively, and talks about a bunch of competing implementations, although it's not one-to-one with GraphJin because it seems to support mysql whereas pg_graphql is of course a PG extension

Re:GraphJin – GraphQL to SQL Compiler by gsvclass on Thursday June 02, 2022 @06:56AM (#31593441)
Also GraphJin is the only one built in Go and therefore can be used as a library within your own Go app allowing you to use it while also adding any business logic you might need.
Re:GraphJin – GraphQL to SQL Compiler by cyanydeez on Wednesday June 01, 2022 @04:44PM (#31587829)
The iql tool is pretty amazing for coding up a query and intro.