default_resolver
is not called when type implements an interface
#3715
Labels
bug
Something isn't working
Describe the Bug
There's an example in strawberry docs that shows how to return a dict from a resolver and get it automatically converted to a GraphQL type. It does not work, when returned type implements an interface.
System Information
Additional Context
Reproduction:
It does not work when type hint on function return type is either
UserInterface
norClient
.Client
needs to stop implementing interface for it to start working.I've checked it with debugger and when it implements the interface it does not even go into the
custom_resolver
Upvote & Fund
The text was updated successfully, but these errors were encountered: