I think #3554 introduce a static typing bug in the execution result attribute.
It's statically typed as graphql.ExecutionResult type from graphql-core
:
strawberry/strawberry/types/execution.py
Line 25 in 2941146
strawberry/strawberry/types/execution.py
Line 56 in 2941146
But in reality it's this custom dataclass from Strawberry's codebase (at least in some situations):
strawberry/strawberry/types/execution.py
Lines 92 to 108 in 2941146
PS: The specific problem is the typechecker makes us think it's okay to access the formatted
property, which is actually missing:
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too