Skip to content

Commit

Permalink
Add missing description for '__EnumValue' Type (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored and leebyron committed Mar 7, 2017
1 parent f1822a7 commit 784654a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions spec/Section 4 -- Introspection.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,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

Expand Down

0 comments on commit 784654a

Please sign in to comment.