GQLTypeDefinition

sealed class GQLTypeDefinition : GQLDefinition, GQLNamed, GQLDescribed

Types

Link copied to clipboard
object Companion

This duplicates some of what's in "builtins.graphqls" but it's easier to access

Functions

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

Internal-only. Copies this code using the given children

Link copied to clipboard
fun isBuiltIn(): Boolean
Link copied to clipboard
abstract fun writeInternal(writer: SDLWriter)

Internal-only. Copies this code using the given children

Properties

Link copied to clipboard
abstract val children: List<GQLNode>

The children of this node.

Link copied to clipboard
abstract val description: String?
Link copied to clipboard
abstract val name: String
Link copied to clipboard
abstract val sourceLocation: SourceLocation

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
fun GQLTypeDefinition.canHaveKeyFields(): Boolean
Link copied to clipboard
fun GQLTypeDefinition.implementsAbstractType(schema: Schema): Boolean
Link copied to clipboard
fun GQLTypeDefinition.isAbstract(): Boolean
Link copied to clipboard
fun GQLTypeDefinition.isFieldNonNull(fieldName: String, schema: Schema? = null): Boolean
Link copied to clipboard
fun GQLTypeDefinition.possibleTypes(schema: Schema): Set<String>