Trying to get an author and then the total count of the children of that author breaks when there are no children present but requested in the query.
Error:
"message": "An unknown error occurred."
The PR includes a test test_nexted_children.py, which illustrates the use case and resulting error.
FYI: Disabling the DjangoOptimizerExtension makes the test pass without any issue.
Description
Trying to get an author and then the total count of the children of that author breaks when there are no children present but requested in the query. Error:
The PR includes a test
test_nexted_children.py
, which illustrates the use case and resulting error.FYI: Disabling the
DjangoOptimizerExtension
makes the test pass without any issue.Types of Changes
Reproduction
I crated a PR with a issue reproduction: https://github.com/strawberry-graphql/strawberry-django/pull/551
Context
Error stack trace
Upvote & Fund