tfoxy / graphene-django-optimizer

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

Fixed call for select_related without arguments #12

Closed yardensachs closed 5 years ago

yardensachs commented 5 years ago

Hi,

This fixes #11

I added new models/types, because changing the existing ones made the other tests fail, and that was a lot of changing to do.

codecov-io commented 5 years ago

Codecov Report

Merging #12 into master will increase coverage by 0.02%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   97.11%   97.13%   +0.02%     
==========================================
  Files           5        5              
  Lines         277      279       +2     
==========================================
+ Hits          269      271       +2     
  Misses          8        8
Impacted Files Coverage Δ
graphene_django_optimizer/query.py 96.68% <100%> (+0.02%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a252294...0ebc5fd. Read the comment docs.