Expedia Group Tech
Read post

Focus on the Feature, Not the Fixture: GenAI powered GraphQL mocks

mockql-rs is a Rust-based CLI tool from Expedia Group that uses LLMs to generate contextual GraphQL mock responses. Instead of hand-writing fixture files, developers annotate query fields with a @mock directive and optional hints. The tool parses the operation, validates it against the schema, splits mocked fields from real ones, prompts an LLM to fill only the annotated fields, and merges the result with real upstream data. This allows frontends to keep building while resolvers are pending, without fixtures that drift or rot when the schema changes.

    #testing#rust#genai#graphql
Jul 31•5m read time•From medium.com
Post cover image
Table of contents
Expedia Group Technology — EngineeringCombine a GraphQL schema, hints and a LLM to generate contextual GraphQL mock responsesGet Samuel Vazquez’s stories in your inbox
226 Impressions
Expedia Group Tech's image
Expedia Group Tech

Expedia's resource offers insights, tutorials, and resources for travelers and vacation planners. Re...

9 Followers

•

16 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard