From db5d8ee8e26196f6bde105809d863d3189cb7906 Mon Sep 17 00:00:00 2001 From: Martin Bonnin Date: Wed, 2 Aug 2023 18:06:54 +0200 Subject: [PATCH 1/3] Add a note about omitting introspection type definitions --- spec/Section 4 -- Introspection.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spec/Section 4 -- Introspection.md b/spec/Section 4 -- Introspection.md index 3054a9f6c..19d086e3a 100644 --- a/spec/Section 4 -- Introspection.md +++ b/spec/Section 4 -- Introspection.md @@ -220,6 +220,12 @@ enum __DirectiveLocation { } ``` +When representing a GraphQL schema using the type system definition language the +_introspection type system definitions_ may be omitted for brevity. + +When introspecting a GraphQL service all provided _introspection type system +definitions_, must be included in the set of returned directives. + ### The \_\_Schema Type The `__Schema` type is returned from the `__schema` meta-field and provides all From 316a6b9cbaf14602902cc4b884417a01259a9041 Mon Sep 17 00:00:00 2001 From: Martin Bonnin Date: Wed, 2 Aug 2023 18:35:18 +0200 Subject: [PATCH 2/3] remove comma --- spec/Section 4 -- Introspection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/Section 4 -- Introspection.md b/spec/Section 4 -- Introspection.md index 19d086e3a..a6f7796f4 100644 --- a/spec/Section 4 -- Introspection.md +++ b/spec/Section 4 -- Introspection.md @@ -224,7 +224,7 @@ When representing a GraphQL schema using the type system definition language the _introspection type system definitions_ may be omitted for brevity. When introspecting a GraphQL service all provided _introspection type system -definitions_, must be included in the set of returned directives. +definitions_ must be included in the set of returned directives. ### The \_\_Schema Type From 350a1408952b9fe7250b332d6b6b7395df96bc22 Mon Sep 17 00:00:00 2001 From: Martin Bonnin Date: Thu, 3 Aug 2023 10:39:31 +0200 Subject: [PATCH 3/3] Update spec/Section 4 -- Introspection.md Co-authored-by: Benjie --- spec/Section 4 -- Introspection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/Section 4 -- Introspection.md b/spec/Section 4 -- Introspection.md index a6f7796f4..c69f5672a 100644 --- a/spec/Section 4 -- Introspection.md +++ b/spec/Section 4 -- Introspection.md @@ -224,7 +224,7 @@ When representing a GraphQL schema using the type system definition language the _introspection type system definitions_ may be omitted for brevity. When introspecting a GraphQL service all provided _introspection type system -definitions_ must be included in the set of returned directives. +definitions_ must be included in the set of returned types. ### The \_\_Schema Type