Schema with Lists and Non-Null
Learn what’s Lists and Non-null type modifiers in GraphQL.
The only types we can define in GraphQL are object
, scalars
, and enums
. But when we use the non-null modifier
in our query or fields, we can also register additional type modifiers that affect the validation of the values. Let’s look at an example:
Get hands-on with 1400+ tech skills courses.