You are here

public function ResponseInterface::mergeViolations in GraphQL 8.4

Adds the violations from another response to this response.

1 method overrides ResponseInterface::mergeViolations()
Response::mergeViolations in src/GraphQL/Response/Response.php
Adds the violations from another response to this response.

File

src/GraphQL/Response/ResponseInterface.php, line 43

Class

ResponseInterface
Response interface used for GraphQL responses.

Namespace

Drupal\graphql\GraphQL\Response

Code

public function mergeViolations(ResponseInterface $source) : void;