graphene-django/graphene_django
Steven DeMartini 20a6cecc4c Add test validating query performance with select_related + prefetch_related
This test passes after reverting the `CustomField` resolver change
introduced in
https://github.com/graphql-python/graphene-django/pull/1315, but fails
with that resolver code present. For instance, adding back the resolver
code gives a test failure showing:

```
Failed: Expected to perform 2 queries but 11 were done
```

This should ensure there aren't regressions that prevent
query-optimization in the future.
2023-05-03 11:37:17 +03:00
..
debug Remove promise based middleware 2023-03-01 11:13:00 +03:00
filter 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
forms Fix broken UT due to pytest import error (#1368) 2022-11-14 13:56:18 +03:00
management Fix schema print with -.graphql 2023-04-10 14:52:10 +03:00
rest_framework Fix broken UT due to pytest import error (#1368) 2022-11-14 13:56:18 +03:00
static/graphene_django Update GraphiQL to 2.4.1 2023-04-17 09:17:21 +03:00
templates/graphene Update GraphiQL to 2.4.1 2023-04-17 09:17:21 +03:00
tests Add test validating query performance with select_related + prefetch_related 2023-05-03 11:37:17 +03:00
utils 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
__init__.py ☂️ v3.0.1 ☂️ 2023-04-29 20:26:39 +03:00
compat.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
conftest.py Make tests order independent (#932) 2020-04-20 13:23:20 +01:00
constants.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
converter.py Revert field resolver logic to fix poor query performance 2023-05-03 11:37:17 +03:00
fields.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
registry.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
settings.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
types.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
views.py Update GraphiQL to 2.4.1 2023-04-17 09:17:21 +03:00