GQLField

data class GQLField(    val sourceLocation: SourceLocation = SourceLocation.UNKNOWN,     val alias: String?,     val name: String,     val arguments: GQLArguments?,     val directives: List<GQLDirective>,     val selectionSet: GQLSelectionSet?) : GQLSelection

Constructors

Link copied to clipboard
fun GQLField(    sourceLocation: SourceLocation = SourceLocation.UNKNOWN,     alias: String?,     name: String,     arguments: GQLArguments?,     directives: List<GQLDirective>,     selectionSet: GQLSelectionSet?)

Functions

Link copied to clipboard
open override fun copyWithNewChildrenInternal(container: NodeContainer): GQLNode

Internal-only. Copies this code using the given children

Link copied to clipboard
open override fun writeInternal(writer: SDLWriter)

Internal-only. Copies this code using the given children

Properties

Link copied to clipboard
val alias: String?
Link copied to clipboard
val arguments: GQLArguments?
Link copied to clipboard
open override val children: List<GQLNode>

The children of this node.

Link copied to clipboard
val directives: List<GQLDirective>
Link copied to clipboard
val name: String
Link copied to clipboard
val selectionSet: GQLSelectionSet?
Link copied to clipboard
open override val sourceLocation: SourceLocation

Extensions

Link copied to clipboard
fun GQLField.definitionFromScope(schema: Schema, rawTypename: String): GQLFieldDefinition?
fun GQLField.definitionFromScope(schema: Schema, parentTypeDefinition: GQLTypeDefinition): GQLFieldDefinition?
Link copied to clipboard
fun GQLField.responseName(): String