GQLField

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

Functions

copyWithNewChildrenInternal
Link copied to clipboard
open override fun copyWithNewChildrenInternal(container: NodeContainer): GQLNode
Internal-only.
writeInternal
Link copied to clipboard
open override fun writeInternal(writer: SDLWriter)
Internal-only.

Properties

alias
Link copied to clipboard
val alias: String?
arguments
Link copied to clipboard
val arguments: GQLArguments?
children
Link copied to clipboard
open override val children: List<GQLNode>
The children of this node.
directives
Link copied to clipboard
val directives: List<GQLDirective>
name
Link copied to clipboard
val name: String
selectionSet
Link copied to clipboard
val selectionSet: GQLSelectionSet?
sourceLocation
Link copied to clipboard
open override val sourceLocation: SourceLocation

Extensions

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