Exposing All Wix APIs via GraphQL Automatically Centralizing GraphQL Schema Generation
summary
Wix automatically generates a centralized GraphQL server by parsing protobuf files into an API registry, compiling entity schemas and resolvers, and publishing a single npm package that a Yoga-based server loads; resolvers call backend services over gRPC and return aggregated results. The system automatically generates GraphQL schemas from proto metadata, uses protobuf metadata and a compiler to emit schemas, resolvers and clients, handles over 1,000 APIs, uses DataLoader and batch-friendly RPCs, and runs in production with pagination and legacy-HTTP caveats addressed.
AI-written summary · about
chapters (10)
- 0:00Introduction to Wix and GraphQL
- 2:11Business solutions at Wix
- 5:12The problem of API fragmentation
- 7:27Choosing GraphQL as the solution
- 8:49API evolution with protobuf
- 12:39Building an entity graph
- 14:29Operationalizing GraphQL adoption
- 17:39Demonstrating the GraphQL schema
- 18:53The automatic generation architecture
- 23:24Q&A session
related talks
54mGraphQL - APIs the New Way
56mGraphQL - APIs the New Way
49mGraphQL Meshes
26mSponsored Session: From Prototype to Production: Building Custom GraphQL APIs
20mHumble GraphQL
14mGraphQL Mesh – Query Anything, Run Anywhere
36mGraphQL Will Do To REST What JSON Did To XML
23mBuild the API You Want to See in the World
