GraphQLSchema: Remove unneeded recursion during type collection
GraphQLSchema: Remove unneeded recursion during type collection

Replicates graphql/graphql-js@cd9fc8e6677926e931bde1b6a5be8fbc027aefcb

graphql-python/graphql-core