There is this block of code:
strawberry/strawberry/schema/execute.py
Lines 138 to 158 in 24c0f28
If parse_document(query)
fails on line 141, the error is handled gracefully.
But if the ParserCache
extension is used, a parsing error leads to the 500 error, because parse_document(query)
runs as a part of extensions_runner.parsing()
that outside the try/except
block.
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