@@ -109,9 +109,9 @@ CommonMark-compliant Markdown renderer.
109109** Deprecation**
110110
111111To support the management of backwards compatibility, GraphQL fields, arguments,
112- input fields, enum values, and objects can indicate whether or not they are deprecated
113- (` isDeprecated: Boolean ` ) along with a description of why it is deprecated
114- (` deprecationReason: String ` ).
112+ input fields, enum values, and objects can indicate whether or not they are
113+ deprecated (` isDeprecated: Boolean ` ) along with a description of why it is
114+ deprecated (` deprecationReason: String ` ).
115115
116116Tools built using GraphQL introspection should respect deprecation by
117117discouraging deprecated use through information hiding or developer-facing
@@ -142,7 +142,7 @@ type __Type {
142142 # must be non-null for OBJECT and INTERFACE, otherwise null.
143143 interfaces : [__Type ! ]
144144 # must be non-null for INTERFACE and UNION, otherwise null.
145- possibleTypes : [__Type ! ]
145+ possibleTypes ( includeDeprecated : Boolean = false ) : [__Type ! ]
146146 # must be non-null for ENUM, otherwise null.
147147 enumValues (includeDeprecated : Boolean = false ): [__EnumValue ! ]
148148 # must be non-null for INPUT_OBJECT, otherwise null.
@@ -315,6 +315,8 @@ Fields\:
315315- ` description ` may return a String or {null}.
316316- ` possibleTypes ` returns the list of types that can be represented within this
317317 union. They must be object types.
318+ - Accepts the argument ` includeDeprecated ` which defaults to {false}. If
319+ {true}, deprecated fields are also returned.
318320- All other fields must return {null}.
319321
320322** Interface**
@@ -336,6 +338,8 @@ Fields\:
336338 (if none, ` interfaces ` must return the empty set).
337339- ` possibleTypes ` returns the list of types that implement this interface. They
338340 must be object types.
341+ - Accepts the argument ` includeDeprecated ` which defaults to {false}. If
342+ {true}, deprecated fields are also returned.
339343- All other fields must return {null}.
340344
341345** Enum**
0 commit comments