Stack overflow at Schema::new()
when generic type's method returns self
#1451
Labels
bug
Something isn't working
Schema::new()
when generic type's method returns self
#1451
Expected Behavior
A generic impl should be able to return a type of the same type as itself.
Actual Behavior
When calling Schema::new(), the schema will enter a recursive loop calling
async_graphql::OutputType>::create_type_info(registry)
until it crashes.Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: