Skip to content
Commit 9e52d3e0 authored by Juha Yrjölä's avatar Juha Yrjölä
Browse files

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.
parent a1ba60b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment