DEV Community

loading...

Discussion on: Introduction to GraphQL

Collapse
null4bl3 profile image
Martin Nielsen

"In REST you need atleast two endpoint to achieve this"

Well no. Any custom rest endpoint, let's the developer decide what should be returned.

Collapse
ashraful profile image
Ashraful Islam Author

Custom is always custom. My point is, developer need to write for that. But it graphql it’s built-i. I am not telling the REST is bad.