graphql.kickstart.execution.error.RenderableNonNullableFieldWasNullError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphql-java-kickstart-jakarta5 Show documentation
Show all versions of graphql-java-kickstart-jakarta5 Show documentation
relay.js-compatible GraphQL servlet
The newest version!
package graphql.kickstart.execution.error;
import com.fasterxml.jackson.annotation.JsonInclude;
import graphql.ErrorType;
import graphql.GraphQLError;
import graphql.execution.NonNullableFieldWasNullError;
import graphql.language.SourceLocation;
import java.util.List;
import java.util.Map;
class RenderableNonNullableFieldWasNullError implements GraphQLError {
private final NonNullableFieldWasNullError delegate;
public RenderableNonNullableFieldWasNullError(
NonNullableFieldWasNullError nonNullableFieldWasNullError) {
this.delegate = nonNullableFieldWasNullError;
}
@Override
public String getMessage() {
return delegate.getMessage();
}
@Override
@JsonInclude(JsonInclude.Include.NON_NULL)
public List getLocations() {
return delegate.getLocations();
}
@Override
public ErrorType getErrorType() {
return delegate.getErrorType();
}
@Override
public List