graphql.execution.preparsed.NoOpPreparsedDocumentProvider Maven / Gradle / Ivy
package graphql.execution.preparsed;
import java.util.function.Function;
public class NoOpPreparsedDocumentProvider implements PreparsedDocumentProvider {
public static final NoOpPreparsedDocumentProvider INSTANCE = new NoOpPreparsedDocumentProvider();
@Override
public PreparsedDocumentEntry get(String query, Function compute) {
return compute.apply(query);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy