Description
The newest Strawberry version removes the execute
and execute_sync
functions that we were monkeypatching in favor of integrating the code directly in Schema.execute
and Schema.execute_sync
.
We were previously patching execute
instead of Schema.execute
because that way we had access to a populated execution_context
which contains data that we wanted to put on the event via an event processor.
We also have access to the execution_context
directly in the extension hooks Strawberry provides, so we can add the event processor there instead of monkeypatching anything.