~/talk

GraphQL Data Mocking at Scale With LLMs and @generateMock

Talkat GraphQLConf 2026 · on Wednesday, 2026-05-20· at 15:05· Boardroom· [graphql, large-language-models]
links:none on file
slides:none on file

Airbnb integrates an LLM into the Naobi CLI to generate type-safe GraphQL mocks via an @generateMock directive and serve them at runtime with @respondWithMock. The pipeline uses a schema subset, design URLs, an image allowlist and up to three LLM self-heal cycles plus JSON validation to guarantee correctness. Generated patches keep mocks in sync using document and directive hashes, CI gates prevent accidental production use, and teams generate over 2,600 mocks so far.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:23Challenges with GraphQL mocking
  3. 4:36Solution design and goals
  4. 6:20Introducing @generateMock directive
  5. 9:29End-to-end mock generation workflow
  6. 12:35Unblocking with @respondWithMock
  7. 15:42Keeping mocks in sync over time
  8. 18:28Impact and related work
  9. 20:16Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.