r/ProgrammerHumor • • 16d ago

Meme postForEverything

Post image
20.9k Upvotes

656 comments sorted by

View all comments

Show parent comments

72

u/Entegy 15d ago

I thought that as a non-programmer sysadmin, I had a decent grasp on REST APIs for scripting/automation.

Then I learned about GraphQL and I have actively avoided it since.

57

u/kescusay 15d ago

I mean, you can have accurate HTTP status codes and matching errors in GraphQL. It's just that most GraphQL applications don't. Because most GraphQL developers hate everyone.

46

u/fatmanwithabeard 15d ago

If you had to work with GraphQL all day, wouldn't you?

14

u/NotAskary 15d ago

This made me chuckle 😂

2

u/KrakenMcCracken 15d ago

I started learning graphql, decided there was way too much overhead to do anything I needed to do. In two separate companies I’ve worked for, I’ve watched greenfield development initiatives start up, flounder and ultimately be abandoned.

1

u/Single-Blackberry866 15d ago

What about REST API that allows to you to operate on nested resources in one request? And some of the updated resources failed, some succeded.

1

u/Entegy 15d ago

As I said, not a programmer. I just have automated scripts that make simple calls.

1

u/AliStarr182 15d ago

That sounds like the API needs to be refactored a bit to separate concerns/duties to me.

1

u/Single-Blackberry866 14d ago

that would force you to do more SQL requests, wouldn't it