com.introproventures.graphql.jpa.query.schema.impl.DataFetchingEnvironmentBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphql-jpa-query-schema Show documentation
Show all versions of graphql-jpa-query-schema Show documentation
Provides GraphQL JPA Query Schema Generation and Execution Support
The newest version!
package com.introproventures.graphql.jpa.query.schema.impl;
import graphql.execution.ExecutionContext;
import graphql.schema.DataFetchingEnvironment;
import graphql.schema.DataFetchingEnvironmentImpl;
/**
* Wrapper utility class to bridge between Graphql-java11 and Graphql-java13 Api changes
*
*/
class DataFetchingEnvironmentBuilder {
public static DataFetchingEnvironmentImpl.Builder newDataFetchingEnvironment(DataFetchingEnvironment environment) {
return DataFetchingEnvironmentImpl.newDataFetchingEnvironment(environment);
}
public static DataFetchingEnvironmentImpl.Builder newDataFetchingEnvironment() {
return DataFetchingEnvironmentImpl.newDataFetchingEnvironment();
}
public static DataFetchingEnvironmentImpl.Builder newDataFetchingEnvironment(ExecutionContext executionContext) {
return DataFetchingEnvironmentImpl.newDataFetchingEnvironment(executionContext);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy