data class Directive : __Directive
Directives provide a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
Partial |
data class Partial |
<init> |
Directives provide a way to describe alternate runtime execution and type validation behavior in a GraphQL document. Directive(name: String, locations: List<DirectiveLocation>, execution: DirectiveExecution, description: String?, arguments: List<InputValue<*>>) |
args |
val args: List<__InputValue> |
arguments |
val arguments: List<InputValue<*>> |
description |
val description: String? |
execution |
val execution: DirectiveExecution |
locations |
val locations: List<DirectiveLocation> |
name |
val name: String |
INCLUDE |
The @include directive may be provided for fields, fragment spreads, and inline fragments. Allows for conditional inclusion during execution as described by the if argument. val INCLUDE: Partial |
SKIP |
The @skip directive may be provided for fields, fragment spreads, and inline fragments. Allows for conditional exclusion during execution as described by the if argument. val SKIP: Partial |