-
-
Notifications
You must be signed in to change notification settings - Fork 585
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The ValidationCache
is writing any errors in the execution_context.errors
def on_validate(self) -> Iterator[None]:
execution_context = self.execution_context
errors = self.cached_validate_document(
execution_context.schema._schema,
execution_context.graphql_document,
execution_context.validation_rules,
)
execution_context.errors = errors
yield
But MaskErrors
is checking for self.execution_context.result.errors
def on_operation(self) -> Iterator[None]:
yield
result = self.execution_context.result
if result and result.errors:
Maybe this bug is in other extensions too?
DoctorJohn
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working