graphql.AssertException: All types within a GraphQL schema must have unique names. No two provided types may have the same name. No provided type may have a name which conflicts with any built in types (including Scalar and Introspection types). You have redefined the type 'TestObject' from being a 'GraphQLObjectTypeWrapper' to a 'GraphQLObjectTypeWrapper'

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GraphQL Java Annotations recursion issue
    via Stack Overflow by ifodor
    ,
    • graphql.AssertException: All types within a GraphQL schema must have unique names. No two provided types may have the same name. No provided type may have a name which conflicts with any built in types (including Scalar and Introspection types). You have redefined the type 'TestObject' from being a 'GraphQLObjectTypeWrapper' to a 'GraphQLObjectTypeWrapper' at graphql.schema.SchemaUtil.assertTypeUniqueness(SchemaUtil.java:86) at graphql.schema.SchemaUtil.collectTypesForObjects(SchemaUtil.java:122) at graphql.schema.SchemaUtil.collectTypes(SchemaUtil.java:56) at graphql.schema.SchemaUtil.collectTypesForObjects(SchemaUtil.java:128) at graphql.schema.SchemaUtil.collectTypes(SchemaUtil.java:56) at graphql.schema.SchemaUtil.collectTypesForObjects(SchemaUtil.java:128) at graphql.schema.SchemaUtil.collectTypes(SchemaUtil.java:56) at graphql.schema.SchemaUtil.allTypes(SchemaUtil.java:153) at graphql.schema.GraphQLSchema.<init>(GraphQLSchema.java:42) at graphql.schema.GraphQLSchema$Builder.build(GraphQLSchema.java:130) at graphql.schema.GraphQLSchema$Builder.build(GraphQLSchema.java:125) at RecursiveSchemaTest.test(RecursiveSchemaTest.java:74)
    No Bugmate found.