DEV Community

Discussion on: Good Bye Web APIs

Collapse
 
mvila profile image
Manuel Vila

I think that using SQL as an API language is a terrible idea but it is nice to see someone arguing against GraphQL. 😉

Collapse
 
jimmont profile image
Jim Montgomery • Edited

I think SQL is a brilliant idea, providing of course the proper constraints are in place. Simonw goes on to show how it actually works based on his own experiments--he was skeptical too. I imagine it really depends on the application. And I agree with the author that GraphQL is reinventing the wheel while not appearing to improve on REST for resource usage (perhaps it's easier to develop relative to rolling restful and rpc endpoints--initially, not sure about maintenance, I think it's a wash or worse there). See also Owen Rubel's related answer--I tend to totally appreciate his insights, he has a lot of good material in this area: rest vs rpc; API chaining part 1of2 and part 2.

Thread Thread
 
mvila profile image
Manuel Vila

Thanks, @jimmont , I will check this out.