Re:You Shouldn’t Use GraphQL
by tomnipotent on Saturday November 13, 2021 @12:58AM
(#29207784)
> If all I want is to fetch one object and its metadata... then I look up the function and call it.
... it's literally the exact same thing for GraphQL. I open up GraphQL explorer, look at one root query I'm interested in, and fire off a request. It's really no different a workflow in Postman/Insomniac if I'm working with a GraphQL or REST API.
Re:You Shouldn’t Use GraphQL
by joe_g_young on Friday November 12, 2021 @10:33PM
(#29207151)
I am on my fourth rewrite on my in house web application. I am using ruby’s Sinatra with react as the front end. Including graphql in my front end and back end was easy. Querying the api was made easier with the “GraphiQL” app
If it's graphql then I have to... well, step one I have to learn the query language. And then I have to construct the query to return the data. It's not, like, super hard to go through all of that but it's extra cognitive burden that I don't want to deal with.
I'm currently writing CLI tools in Go and have to use the graphql API for github because it offers data that the REST API does not (I think). I really prefer the REST API wrapper.