kgraphql / com.apurebase.kgraphql.schema.model / MutableSchemaDefinition / <init>

<init>

MutableSchemaDefinition(objects: <ERROR CLASS><Object<*>> = arrayListOf( TypeDef.Object(__Schema::class.defaultKQLTypeName(), __Schema::class), create__TypeDefinition(), create__DirectiveDefinition() ), queries: <ERROR CLASS><QueryDef<*>> = arrayListOf(), scalars: <ERROR CLASS><Scalar<*>> = arrayListOf( BUILT_IN_TYPE.STRING, BUILT_IN_TYPE.BOOLEAN, BUILT_IN_TYPE.DOUBLE, BUILT_IN_TYPE.FLOAT, BUILT_IN_TYPE.INT, BUILT_IN_TYPE.LONG ), mutations: <ERROR CLASS><MutationDef<*>> = arrayListOf(), subscriptions: <ERROR CLASS><SubscriptionDef<*>> = arrayListOf(), enums: <ERROR CLASS><Enumeration<*>> = arrayListOf( TypeDef.Enumeration ( "__" + TypeKind::class.defaultKQLTypeName(), TypeKind::class, enumValues<TypeKind>().map { EnumValueDef(it) } ), TypeDef.Enumeration ( "__" + DirectiveLocation::class.defaultKQLTypeName(), DirectiveLocation::class, enumValues<DirectiveLocation>().map { EnumValueDef(it) } ) ), unions: <ERROR CLASS><Union> = arrayListOf(), directives: <ERROR CLASS><Partial> = arrayListOf( Directive.SKIP, Directive.INCLUDE ), inputObjects: <ERROR CLASS><Input<*>> = arrayListOf())

Intermediate, mutable data structure used to prepare SchemaDefinition Performs basic validation (names duplication etc.) when methods for adding schema components are invoked