oneOf
Indicates exactly one field must be supplied and this field must not be null
.
Locations
INPUT_OBJECT
include
Directs the executor to include this field or fragment only when the if
argument is true.
Arguments
if
Included when true.
Locations
FIELD
FRAGMENT_SPREAD
INLINE_FRAGMENT
skip
Directs the executor to skip this field or fragment when the if
argument is true.
Arguments
if
Skipped when true.
Locations
FIELD
FRAGMENT_SPREAD
INLINE_FRAGMENT
deprecated
Marks an element of a GraphQL schema as no longer supported.
Arguments
reason
Default:"No longer supported"
Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by CommonMark.
Locations
FIELD_DEFINITION
ARGUMENT_DEFINITION
INPUT_FIELD_DEFINITION
ENUM_VALUE