Comment

Comment by donpark

GraphQL has nothing to do with SQL and a lot to do with addressing problems associated with choppy nature of REST in practice.

In essence, GraphQL query is a grocery list of stuff you want. Response is a grocery bag of what you wanted.

From REST perspective, GraphQL is a union of multiple REST query URLs presented as JSON hierarchy, turning each path fragment into a nested object.

parent donpark 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton