-
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: async with new filter API (assert queryset is wrong) (#504)
* fix: assert queryset is wrong (causing errors in async environments and fetches implicitly the whole queryset) * filters: add tests for the bug (empty queryset and async call of apply) * tests: fix typing issues and django versions < django 4.1 * fix: add the tests also for v2 (will trigger the bug) * fix filter v2 tests * optimize: empty resolvers need no initialized db
- Loading branch information
Showing
3 changed files
with
104 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters