From a152ba392afab9a1097782a75e1ba546183de892 Mon Sep 17 00:00:00 2001 From: Benjie Date: Fri, 6 Dec 2024 08:40:23 +0000 Subject: [PATCH] "data" and "errors" appear in the "response", not the "result" --- spec/Section 7 -- Response.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/Section 7 -- Response.md b/spec/Section 7 -- Response.md index bd9448293..59c6bbb80 100644 --- a/spec/Section 7 -- Response.md +++ b/spec/Section 7 -- Response.md @@ -43,7 +43,7 @@ of the query root operation type; if the operation was a mutation, this output will be an object of the mutation root operation type. If an error was raised before execution begins, the `data` entry should not be -present in the result. +present in the response. If an error was raised during the execution that prevented a valid response, the `data` entry in the response should be `null`. @@ -56,7 +56,7 @@ format below. If present, the `errors` entry in the response must contain at least one error. If no errors were raised during the request, the `errors` entry must not be -present in the result. +present in the response. If the `data` entry in the response is not present, the `errors` entry must be present. It must contain at least one _request error_ indicating why no data was