Skip to content

Commit

Permalink
Add missing description for '__EnumValue' Type (graphql#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jun 17, 2017
1 parent e0d4950 commit a7d9bc5
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 @@ -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

Expand Down

0 comments on commit a7d9bc5

Please sign in to comment.