Overview
Learn about the new Schema Mapping Inspection feature in Spring for GraphQL through this 18-minute tutorial. Explore how to debug complex applications by inspecting schema fields, DataFetcher registrations, and Java object properties. Create a simple GraphQL project, define object types, extend default GraphQL Java types, and configure runtime wiring. Enable the GraphQL UI, create an event controller, and resolve schema mismatches. Extend the schema with a Session type and address data mismatches using schema mapping. Gain valuable insights into improving GraphQL application development and debugging processes.
Syllabus
Introduction
GraphQL inspection report introduction
Creating a simple GraphQL project
Defining object types
Extending default GraphQL Java types
Runtime wiring configurations
Enabling the GraphQL UI
Creating the event controller
Fixing the schema mismatch
Extending the schema with Session type
Resolving data mismatch with schema mapping
Conclusion & closing thoughts
Taught by
Dan Vega