FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
GraphQL Data Mocking at Scale with LLMs and @generateMock
How-ToMachine Learning

GraphQL Data Mocking at Scale with LLMs and @generateMock

via Airbnb EngineeringMichael Rebello3mo ago

How Airbnb combines GraphQL infra, product context, and LLMs to generate and maintain convincing, type-safe mock data using a new directive. Introduction Producing valid and realistic mock data for testing and prototyping with GraphQL has been a persistent challenge across the industry for years. Mock data is tedious to write and maintain, and attempts to improve the process, such as random value generation and field-level stubbing, fall short because they lack essential domain context to make test data realistic and meaningful. The time spent on this manual work ultimately takes away from what most engineers would like to focus on: building features. In this post, we’ll explore how we’ve reimagined mocking GraphQL data at Airbnb by combining GraphQL validation, rich product and schema context, and LLMs to generate and maintain convincing, type-safe mock data. Our solution centers around a simple new GraphQL client directive — @generateMock — that engineers can add to any operation, fr

Continue reading on Airbnb Engineering

Opens in a new tab

Read Full Article
1 views

Related Articles

Chat with Your PDFs and Excel Documents using LlamaParse
How-To

Chat with Your PDFs and Excel Documents using LlamaParse

Medium Programming • 12m ago

Prefix Sum: Beginner
How-To

Prefix Sum: Beginner

Medium Programming • 44m ago

Hey I'm new here. This is Masih Ahmed, officially Mr Ahmed, but you can call me just Masih. Whatever, As ya know I'm new here and I'm looking for friends to develop new things togerther. I'm a student, College 1st year and I'd like to share my learnings
How-To

Hey I'm new here. This is Masih Ahmed, officially Mr Ahmed, but you can call me just Masih. Whatever, As ya know I'm new here and I'm looking for friends to develop new things togerther. I'm a student, College 1st year and I'd like to share my learnings

Dev.to • 2h ago

️ Build Production-Ready Real-Time Voice Calls in Flutter with WebRTC
How-To

️ Build Production-Ready Real-Time Voice Calls in Flutter with WebRTC

Medium Programming • 2h ago

Why I Stopped Watching Endless Coding Tutorials (And What Happened Next)
How-To

Why I Stopped Watching Endless Coding Tutorials (And What Happened Next)

Medium Programming • 3h ago

Discover More Articles