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.boolean
then()
-
Field Details
-
contextConfig
-
-
Method Details
-
isDataLoaderChainingEnabled
public boolean isDataLoaderChainingEnabled()- Returns:
- true if @defer and @stream behaviour is enabled for this execution.
-
enableDataLoaderChaining
@ExperimentalApi public GraphQLUnusualConfiguration.DataloaderConfig enableDataLoaderChaining(boolean enable) Enables the ability that chained DataLoaders are dispatched automatically. -
then
- Returns:
- an element that allows you to chain multiple configuration elements
-