@@ -4,7 +4,6 @@ import graphql.kickstart.tools.resolver.FieldResolverError
44import graphql.language.SourceLocation
55import graphql.schema.GraphQLArgument
66import graphql.schema.GraphQLInputObjectType
7- import graphql.schema.GraphQLInputType
87import graphql.schema.GraphQLNonNull
98import graphql.schema.GraphQLSchema
109import graphql.schema.idl.SchemaDirectiveWiring
@@ -394,7 +393,7 @@ class SchemaParserSpec extends Specification {
394393 GraphQLArgument onArgument (SchemaDirectiveWiringEnvironment<GraphQLArgument > environment ) {
395394 switch (environment. getElement(). type. class) {
396395 case GraphQLNonNull :
397- assert (environment. getElement(). type as graphql.schema. GraphQLNonNull ). wrappedType. class == GraphQLInputObjectType
396+ assert (environment. getElement(). type as GraphQLNonNull ). wrappedType. class == GraphQLInputObjectType
398397 }
399398 return environment. getElement()
400399 }})
@@ -408,8 +407,8 @@ class SchemaParserSpec extends Specification {
408407 GraphQLArgument testNullableArgument = schema. getObjectType(" Query" )
409408 .getFieldDefinition(" testNullable" )
410409 .arguments. first()
411- testNonNullableArgument. type. class == graphql.schema. GraphQLNonNull
412- (testNonNullableArgument. type as graphql.schema. GraphQLNonNull ). wrappedType. class == GraphQLInputObjectType
410+ testNonNullableArgument. type. class == GraphQLNonNull
411+ (testNonNullableArgument. type as GraphQLNonNull ). wrappedType. class == GraphQLInputObjectType
413412 testNullableArgument. type. class == GraphQLInputObjectType
414413 }
415414
0 commit comments