strawberry-graphql / strawberry-django

Strawberry GraphQL Django extension
https://strawberry.rocks/docs/django
MIT License
421 stars 122 forks source link

Test optimizer with polymorphic relay node #570

Closed stygmate closed 4 months ago

stygmate commented 4 months ago

Add node polymorphism tests and related schema Update asserts in optimizer.py -> To be double checked before merge

stygmate commented 4 months ago

@bellini666 here it is :)

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.94%. Comparing base (7b8a6a2) to head (fb40e9f). Report is 7 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #570 +/- ## ========================================== + Coverage 88.81% 88.94% +0.13% ========================================== Files 41 41 Lines 3531 3547 +16 ========================================== + Hits 3136 3155 +19 + Misses 395 392 -3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.