Closed bellini666 closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
94830a1
) 87.90% compared to head (47f20e8
) 87.91%. Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Currently we have to
qs._fetch_all()
because graphql-core will try to iterate over theQuerySet
in a sync way, thus causing issues when running ASGI.This adds a way for extensions to prevent that from happening, as discussed in https://github.com/strawberry-graphql/strawberry/issues/3364
When
grapghql-core
3.3.0 is released we can probably stop fetching results at all, as it will give preference to use__aiter__
if the object provides one (and theQuerySet
does)