blb-ventures / strawberry-django-plus

Enhanced Strawberry GraphQL integration with Django
MIT License
179 stars 47 forks source link

Draft: support annotate parameter in field to allow ORM annotations #255

Open fjsj opened 1 year ago

fjsj commented 1 year ago

Incomplete: missing tests and docs.

codecov[bot] commented 1 year ago

Codecov Report

Merging #255 (54db7ec) into main (16922ab) will decrease coverage by 0.32%. The diff coverage is 60.00%.

@@            Coverage Diff             @@
##             main     #255      +/-   ##
==========================================
- Coverage   88.35%   88.03%   -0.32%     
==========================================
  Files          28       28              
  Lines        2833     2858      +25     
==========================================
+ Hits         2503     2516      +13     
- Misses        330      342      +12     
Impacted Files Coverage Δ
strawberry_django_plus/optimizer.py 84.25% <55.55%> (-2.75%) :arrow_down:
strawberry_django_plus/field.py 89.86% <100.00%> (ø)
strawberry_django_plus/utils/typing.py 89.47% <100.00%> (+0.58%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more