From a7d9bc54227931188007a95b5246e5958b6510ba Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Tue, 7 Mar 2017 05:22:58 +0200 Subject: [PATCH] Add missing description for '__EnumValue' Type (#270) --- spec/Section 4 -- Introspection.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/spec/Section 4 -- Introspection.md b/spec/Section 4 -- Introspection.md index a8d875d4d..115fa5241 100644 --- a/spec/Section 4 -- Introspection.md +++ b/spec/Section 4 -- Introspection.md @@ -410,6 +410,17 @@ Fields default value used by this input value in the condition a value is not provided at runtime. If this input value has no default value, returns {null}. +### The __EnumValue Type + +The `__EnumValue` type represents one of possible values of an enum. + +Fields + +* `name` must return a String +* `description` may return a String or {null} +* `isDeprecated` returns {true} if this field should no longer be used, + otherwise {false}. +* `deprecationReason` optionally provides a reason why this field is deprecated. ### The __Directive Type