
Course 37 - Building Web Apps with Ruby On Rails | Episode 18:Navigating GraphQL and the Graphiti Middle Ground
In this lesson, you’ll learn about: REST limitations, GraphQL fundamentals, and the hybrid approach with Graphiti1. The Problem with REST APIsUsing REST:🔹 Key limitations:
Overfetching
Client receives more data than needed
Underfetching
Requires multiple requests to get all data
No strict typing
Errors happen at runtime
Heavy reliance on documentation
👉 Key Insight
REST is simple and scalable—but not always efficient2. Example of Overfetching🔹 Request:GET /users/1 🔹 Response:{ "id": 1, "name": "John", "email": "john@example.com", "address": "...", "preferences": "...", "settings": "..." } 👉…
The skinny
The skinny isn't ready yet — notes appear once the transcript is processed.