Advantages ★ No more “hey can you make this endpoint return this now?” discussions ★ Reduce number of requests ★ Smaller payloads (return only what you need) ★ camelCase conventions ★ Client determines shape of response ★ Subscriptions / websockets built in
Advantages ★ “Wrap” an existing REST API ★ Schema Stitching to combine multiple GQL APIs as one ★ No more thinking about requests/responses ★ Tooling: GraphiQL is amazing ★ Introspection: Client can send query to get the schema ★ Fragments