You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
graphql.schema.impl.SchemaUtil#replaceTypeReferences is breaking , when we are trying to re build the schema.
Issue occurring case :
When we traverse through a GraphqlObject node which has its interfaces resolved (replacedInterfaces!=null), those interfaces wont get registered into typeMap , as we are using
at later step when replaceTypeReferences tries to resolve graphqlobejcts interface types at method graphql.schema.GraphQLTypeResolvingVisitor#visitGraphQLObjectType of a resolved GraphqlObject node ( which have its resolved interfaces ) . it fails to resolve as there is not such interface registered in typeMap.
To Reproduce
one case where its necessary to rebuild an already built schema is while trying to create a readOnly Schema GraphQLSchema.newSchema(schema).mutation((GraphQLObjectType) null).build()
The text was updated successfully, but these errors were encountered:
Describe the bug
graphql.schema.impl.SchemaUtil#replaceTypeReferences is breaking , when we are trying to re build the schema.
Issue occurring case :
When we traverse through a GraphqlObject node which has its interfaces resolved (replacedInterfaces!=null), those interfaces wont get registered into typeMap , as we are using
at later step when
replaceTypeReferences
tries to resolve graphqlobejcts interface types at methodgraphql.schema.GraphQLTypeResolvingVisitor#visitGraphQLObjectType
of a resolved GraphqlObject node ( which have its resolved interfaces ) . it fails to resolve as there is not such interface registered in typeMap.To Reproduce
one case where its necessary to rebuild an already built schema is while trying to create a readOnly Schema
GraphQLSchema.newSchema(schema).mutation((GraphQLObjectType) null).build()
The text was updated successfully, but these errors were encountered: