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.
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 inbox226 Impressions