DEV Community

Discussion on: GraphQL vs REST - Conclusion

Collapse
nullvoxpopuli profile image
NullVoxPopuli • Edited on

Rest and graphql shouldn't be comparable.
It's like comparing low level sockets to HTTP

Why not compare something more apples to apples like { json:api } and GraphQL?

Collapse
tbaveja profile image
tbaveja Author • Edited on

Hey, I compared as both can communicate with a server and retrieve data and accomplish the same task as I mentioned in similarities.
Although, I like your POV of comparing graphql with { json:api } but most of the people are replacing REST with graphql in indsutry so I thought I should throw some light on graphql vs REST so that people can make better choice.
And, I would love to hear your experience on json:api :)

Anyways, thanks for reading the post and sharing your knowledge. It will surely help :)

Some comments have been hidden by the post's author - find out more