graphql.schema.SingletonPropertyDataFetcher Maven / Gradle / Ivy
package graphql.schema;
import java.util.function.Supplier;
/**
* The {@link SingletonPropertyDataFetcher} is much like the {@link PropertyDataFetcher} except
* that it is designed to only ever fetch properties via the name of the field passed in.
*
* This uses the same code as {@link PropertyDataFetcher} and hence is also controlled
* by static methods such as {@link PropertyDataFetcher#setUseNegativeCache(boolean)}
*
* @param for two
*/
public class SingletonPropertyDataFetcher implements LightDataFetcher {
private static final SingletonPropertyDataFetcher
© 2015 - 2025 Weber Informatics LLC | Privacy Policy