Package graphql
Class GraphQLUnusualConfiguration.DataloaderConfig
java.lang.Object
graphql.GraphQLUnusualConfiguration.DataloaderConfig
- Enclosing class:
GraphQLUnusualConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final GraphQLUnusualConfiguration.GraphQLContextConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionenableDataLoaderChaining
(boolean enable) Enables the ability that chained DataLoaders are dispatched automatically.enableDataLoaderExhaustedDispatching
(boolean enable) Enables a dispatching strategy that will dispatch as long as there is no other data fetcher or batch loader running.boolean
returns true if chained data loader dispatching is enabledboolean
then()
-
Field Details
-
contextConfig
-
-
Method Details
-
isDataLoaderChainingEnabled
public boolean isDataLoaderChainingEnabled()returns true if chained data loader dispatching is enabled -
isDataLoaderExhaustedDispatchingEnabled
public boolean isDataLoaderExhaustedDispatchingEnabled() -
enableDataLoaderChaining
@ExperimentalApi public GraphQLUnusualConfiguration.DataloaderConfig enableDataLoaderChaining(boolean enable) Enables the ability that chained DataLoaders are dispatched automatically. -
enableDataLoaderExhaustedDispatching
@ExperimentalApi public GraphQLUnusualConfiguration.DataloaderConfig enableDataLoaderExhaustedDispatching(boolean enable) Enables a dispatching strategy that will dispatch as long as there is no other data fetcher or batch loader running. -
then
- Returns:
- an element that allows you to chain multiple configuration elements
-