Interface GraphQlTester.Response

All Superinterfaces:
GraphQlTester.Traversable
Enclosing interface:
GraphQlTester

public static interface GraphQlTester.Response extends GraphQlTester.Traversable
Declare options to check the data and errors of a GraphQL response.
Since:
1.0.0
Author:
Rossen Stoyanchev, Brian Clozel
  • Method Details

    • errors

      Return a spec to filter out or inspect errors. This must be used before traversing to a GraphQlTester.Traversable.path(String) if some errors are expected and need to be filtered out.
      Returns:
      the error spec
    • returnResponse

      org.springframework.graphql.GraphQlResponse returnResponse()
      Return the underlying GraphQlResponse for direct access.
      Since:
      1.3.5