After 6 years, I'm over GraphQL
bessey.dev
After 6 years, I'm over GraphQL
1–10 of 721 posts
Re: After 6 years, I'm over GraphQL
#2It works there because
1. Every user is logged in. Is there anything you can do at FB without giving up something to the Zuck?
2. Because it's all behind a login, you can front load the first login/request with a giant SPA and then run all the custom queries you want.
3. everything at FB is some sort of blended context (my user, someone else's user, a permissions interaction)... security is baked in to every field.
4. Because of permissions, and login requirement it's hard to be a bad actor (FB just locks you out, nothing is public).
If you have a SPA and logged in user requirement and that robust permissions model then GraphQL might make sense... Otherwise its a shining example of conways law and might not be fit for your org... The same can be said for react too.
Re: After 6 years, I'm over GraphQL
#3Re: After 6 years, I'm over GraphQL
#4Re: After 6 years, I'm over GraphQL
#5I do really like the Api definition part of it though - but I found something like typespec now to be the perfect middle-ground, it allows out you describe your apis similar to a graphql Api without enforcing the graphql engine on you though.
Re: After 6 years, I'm over GraphQL
#6I wonder if GraphQL would have been as popular if it was a much smaller shop than facebook launching it. Feels like having a name like FB gets you a tech credibility pass.
Re: After 6 years, I'm over GraphQL
#7GraphQL is the peanut butter to Reacts chocolate at FB. It works there because 1. Every user is logged in. Is there anything you can do at FB without giving up something to the Zuck? 2. Because it's all behind a login, you can front load the first login/request with a giant SPA and then run all the custom queries you want. 3. everything at FB is some sort of blended context (my user, someone else's user, a permission…
Re: After 6 years, I'm over GraphQL
#8I never got into GraphQL. It always felt like a lot of complexity for little gain (I'm full-stack). People always jump on tools created by tech giants but they solve different problems than the vast majority of companies.
Re: After 6 years, I'm over GraphQL
#9Re: After 6 years, I'm over GraphQL
#10I never got into GraphQL. It always felt like a lot of complexity for little gain (I'm full-stack). People always jump on tools created by tech giants but they solve different problems than the vast majority of companies.
agree, it solve problem at FB for sure, that is a good point.
I'm glad Redux hype train is over and nobody is using it on new projects no more.