~/talk

How I Started Mocking My GraphQL Schema

TalkinSpanishat JSConfCO 2018 · on Saturday, 2018-11-17· [graphql, developer-experience]
slides:none on file

An open-source module takes a GraphQL SDL schema, builds a minimal object model, and generates mock data for every field while allowing custom mocks keyed by type. It uses a cache to handle recursive types (cutting mock generation from ~83,000 ms to ~50 ms) and includes tools for deployment (Now), assertions (Chai), Artillery-based load testing, plus utilities: a query tester, mock generator, and load-test helper.

AI-written summary · about

  1. 0:00Introduction
  2. 2:14Why Easy GraphQL Mock
  3. 4:42Mocking challenges
  4. 7:55Caching and performance
  5. 9:19Customizing mocks
  6. 11:26GraphQL Tester and Now
  7. 13:34Automated query generation
  8. 14:36Contribute to GraphQL tools
~/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.