GQLOperationDefinition
class GQLOperationDefinition(val sourceLocation: SourceLocation? = null, val operationType: String, val name: String?, val variableDefinitions: List<GQLVariableDefinition>, val directives: List<GQLDirective>, val selections: List<GQLSelection>, val description: String?) : GQLExecutableDefinition, GQLDescribed, GQLHasDirectives
Constructors
Link copied to clipboard
constructor(sourceLocation: SourceLocation? = null, operationType: String, name: String?, variableDefinitions: List<GQLVariableDefinition>, directives: List<GQLDirective>, selections: List<GQLSelection>, description: String?)
Properties
Functions
Link copied to clipboard
fun copy(sourceLocation: SourceLocation? = this.sourceLocation, operationType: String = this.operationType, name: String? = this.name, variableDefinitions: List<GQLVariableDefinition> = this.variableDefinitions, directives: List<GQLDirective> = this.directives, selections: List<GQLSelection> = this.selections, description: String? = this.description): GQLOperationDefinition
Link copied to clipboard
Internal-only. Copies this code using the given children
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun GQLOperationDefinition.validate(schema: Schema, fragments: Map<String, GQLFragmentDefinition>): List<Issue>
Link copied to clipboard
Internal-only. Copies this code using the given children