GraphQL - Schema Definition Language (SDL)
Identify the error in this GraphQL type definition:
type Car {
model: String!
year: Int!
color: !String
}type Car {
model: String!
year: Int!
color: !String
}! must come after the type, not before.color: !String is invalid syntax; correct is color: String!.color -> Option D15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions