Schema Definition
data class SchemaDefinition(objects: List<TypeDef.Object<*>>, queries: List<QueryDef<*>>, scalars: List<TypeDef.Scalar<*>>, mutations: List<MutationDef<*>>, subscriptions: List<SubscriptionDef<*>>, enums: List<TypeDef.Enumeration<*>>, unions: List<TypeDef.Union>, directives: List<Directive.Partial>, inputObjects: List<TypeDef.Input<*>>)
Content copied to clipboard
SchemaDefinition represents unstructured schema components
SchemaDefinition does not contain all nodes in schema, only these, which have been directly declared via SchemaBuilder.
SchemaStructure contains full schema tree, with all types
Constructors
SchemaDefinition
Link copied to clipboard
fun SchemaDefinition(objects: List<TypeDef.Object<*>>, queries: List<QueryDef<*>>, scalars: List<TypeDef.Scalar<*>>, mutations: List<MutationDef<*>>, subscriptions: List<SubscriptionDef<*>>, enums: List<TypeDef.Enumeration<*>>, unions: List<TypeDef.Union>, directives: List<Directive.Partial>, inputObjects: List<TypeDef.Input<*>>)
Content copied to clipboard
Properties
directives
Link copied to clipboard
enums
Link copied to clipboard
inputObjects
Link copied to clipboard
mutations
Link copied to clipboard
objects
Link copied to clipboard
scalars
Link copied to clipboard
subscriptions
Link copied to clipboard
unions
Link copied to clipboard