

Lesson 02 · 10 min
Schema and types
type, fields, ! and lists. Query is the entry point for reads.
10 minLesson 2 of 9Practice includedAsk AI on any point
The schema is written in SDL. Object types describe entities, scalars describe values: String, Int, Float, Boolean, ID. ! means "can't be null", and [Book!]! is a non-null list of non-null books. The special Query type lists what can be read.
Sign in to continue
The rest of this lesson opens after sign up
The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.