Interface ValidationResult
-
@ProviderType public interface ValidationResult
TheValidationResult
interface defines the result returned byQueryExecutor.validate(String, Map, Resource, String[])
and helps additional services to pre-validate a GraphQL query without executing it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull List<String>
getErrors()
Returns a list of errors encountered while validating the query.boolean
isValid()
Provides a simple way check if a query is valid or not.
-