Fix compatibility with newer django-graphene
Newer versions of django-graphene have resolver functions with the model class as the first argument. Make QueryOptimizer._get_name_from_resolver() more robust by looking for the first function argument that is either a string or another partial function.
Loading
Please register or sign in to comment