GraphQL - Mutations
Examine this delete mutation:mutation { deleteProduct(productId: 789) { success } }
Assuming productId is defined as a String in the schema, what is the error?
Examine this delete mutation:mutation { deleteProduct(productId: 789) { success } }
Assuming productId is defined as a String in the schema, what is the error?
productId as a String, so the value must be quoted.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions