graphql.ExecutionResult Maven / Gradle / Ivy
package graphql;
import java.util.List;
import java.util.Map;
/**
* This simple value class represents the result of performing a graphql query.
*/
@PublicApi
public interface ExecutionResult {
/**
* @param allows type coercion
*
* @return the data in the result or null if there is none
*/
T getData();
/**
* @return the errors that occurred during execution or empty list if there is none
*/
List getErrors();
/**
* @return a map of extensions or null if there are none
*/
Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy