Ruby Rogues

GraphQL Doesn't Need To Be Hell with Dmitry Tsepelev - RUBY 665

17 snips
Dec 18, 2024
Dmitry Tsepelev, a back-end developer from Evil Martians, dives into the world of GraphQL and its integration with Ruby on Rails. He discusses the advantages of GraphQL over traditional REST APIs, especially its efficiency in data handling. Dmitry explores the challenges of real-time updates and complexities in server integration. He also shares insights on GraphQL performance optimizations, including strategies for tackling the N plus one problem. Plus, get a peek into his favorite tech tools and personal preferences in development.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
INSIGHT

GraphQL Overuse

  • John expresses concern about the widespread adoption of GraphQL for every project, even when REST might be suitable.
  • He suggests that GraphQL's potential is hindered by inconsistent usage rather than inherent flaws and proposes standardization.
ANECDOTE

Mobile App Example

  • Luke shares an example of a company that benefited from GraphQL, using it for efficient network usage in mobile apps.
  • They prioritized improved customer experience despite the increased complexity of GraphQL.
INSIGHT

Schema vs. Implicit Typing

  • Charles and Dmitry discuss the trade-off between explicit schema definition in GraphQL versus implicit typing in REST.
  • While GraphQL requires more upfront schema work, it provides strong typing and eliminates the need for client-side type checking like in JavaScript.
Get the Snipd Podcast app to discover more snips from this episode
Get the app