After upgrading django-polymorphic to 4.6.0 or newer we're seeing the following test failures on strawberry-django 0.74.3.
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_paginated_query - AssertionError: 2 queries executed, 4 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_offset_paginated_query - AssertionError: 3 queries executed, 5 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_relation - AssertionError: 3 queries executed, 5 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_nested_list - AssertionError: 3 queries executed, 5 expected
FAILED tests/polymorphism/test_optimizer.py::test_optimizer_hints_polymorphic - AssertionError: 2 queries executed, 4 expected
FAILED tests/node_polymorphism/test_optimizer.py::test_polymorphic_interface_query - AssertionError: 2 queries executed, 4 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_interface_query - AssertionError: 2 queries executed, 4 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_query_abstract_model - AssertionError: 2 queries executed, 5 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_query_multiple_inheritance_levels - AssertionError: 2 queries executed, 5 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_query_abstract_model_on_field - AssertionError: 3 queries executed, 4 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_query_optimization_working - assert False
We package strawberry-django in nixpkgs and run the test suite to increase our confidence the package works as expected.
Describe the Bug
After upgrading django-polymorphic to 4.6.0 or newer we're seeing the following test failures on strawberry-django 0.74.3.
Full log
System Information
Additional Context
We package strawberry-django in nixpkgs and run the test suite to increase our confidence the package works as expected.