Interface GraphQlTester.Response
- All Superinterfaces:
GraphQlTester.Traversable
- Enclosing interface:
- GraphQlTester
Declare options to check the data and errors of a GraphQL response.
-
Method Summary
Methods inherited from interface org.springframework.graphql.test.tester.GraphQlTester.Traversable
path, path
-
Method Details
-
errors
GraphQlTester.Errors errors()Return a spec to filter out or inspect errors. This must be used before traversing to aGraphQlTester.Traversable.path(String)
if some errors are expected and need to be filtered out.- Returns:
- the error spec
-