@ProviderType
public interface ValidationResult
ValidationResult interface defines the result returned by QueryExecutor.validate(String, Map, Resource, String[]) and
helps additional services to pre-validate a GraphQL query without executing it.| Modifier and Type | Method and 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.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.