Learn how to effectively use scalars in GraphQL, including the five scalar types defined in the GraphQL specification and custom scalars, in this 22-minute tutorial. Create a new Spring Boot 3 project with Spring for GraphQL, define a schema, and implement both built-in and custom scalars for handling data types like price and date created. Follow along as the instructor guides you through creating a GraphQL API with custom scalars, using a Command Line Runner to generate sample products, and validating queries in the GraphQL Playground. Gain practical insights into developing robust GraphQL APIs with Java and Spring Boot.
Overview
Syllabus
GraphQL Scalars - How to use Custom Scalars in Java
Taught by
Dan Vega