File tree Expand file tree Collapse file tree
core/src/main/kotlin/schema Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,9 +82,8 @@ package org.cufy.graphkt.schema
8282 * @since 2.0.0
8383 */
8484abstract class GraphQLObjectClass <T : Any >(
85- name : String? = null ,
8685 block : GraphQLObjectTypeBlock <T >
87- ) : GraphQLObjectType<T> by GraphQLObjectType(name , block)
86+ ) : GraphQLObjectType<T> by GraphQLObjectType(null , block)
8887
8988/* *
9089 * A convenient class for defining graphql interface
@@ -96,9 +95,8 @@ abstract class GraphQLObjectClass<T : Any>(
9695 * @since 2.0.0
9796 */
9897abstract class GraphQLInterfaceClass <T : Any >(
99- name : String? = null ,
10098 block : GraphQLInterfaceTypeBlock <T >
101- ) : GraphQLInterfaceType<T> by GraphQLInterfaceType(name , block)
99+ ) : GraphQLInterfaceType<T> by GraphQLInterfaceType(null , block)
102100
103101/* *
104102 * A convenient class for defining graphql input object
@@ -110,7 +108,5 @@ abstract class GraphQLInterfaceClass<T : Any>(
110108 * @since 2.0.0
111109 */
112110abstract class GraphQLInputObjectClass <T : Any >(
113- name : String? = null ,
114- constructor : GraphQLInputConstructor <T >? = null ,
115111 block : GraphQLInputObjectTypeBlock <T >
116- ) : GraphQLInputObjectType<T> by GraphQLInputObjectType(name, constructor , block)
112+ ) : GraphQLInputObjectType<T> by GraphQLInputObjectType(null , null , block)
You can’t perform that action at this time.
0 commit comments