tfoxy / graphene-django-optimizer

Optimize database access inside graphene queries
MIT License
428 stars 84 forks source link

#31 + test coverage #44

Open tpict opened 4 years ago

tpict commented 4 years ago

Test coverage for #31

I think this is the correct behavior, right? graphene-django-optimizer aborts the only optimization if it bumps into a field that isn't a model field and that doesn't have hints.

tpict commented 4 years ago

...actually, it looks like these tests pass even without the fix. Will investigate

tpict commented 4 years ago

Not sure if it's due to differences in dependency versions, or if something has changed in graphene-django-optimizer in the past few months, but it seems that the only optimization is working for Relay nodes!