Class I2Foo140Controller
java.lang.Object
org.junittest.allgraphqlcases_server_springconfiguration_util_batchmapping_flux.util.I2Foo140Controller
- Author:
- generated by graphql-java-generator
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DataFetchersDelegateI2Foo140
protected com.graphql_java_generator.server.util.GraphqlServerUtils
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
dataFetchersDelegateI2Foo140
-
graphqlServerUtils
@Autowired protected com.graphql_java_generator.server.util.GraphqlServerUtils graphqlServerUtils
-
-
Constructor Details
-
I2Foo140Controller
public I2Foo140Controller()
-
-
Method Details
-
bar
@BatchMapping(field="bar") public reactor.core.publisher.Flux<I2Bar140> bar(org.dataloader.BatchLoaderEnvironment batchLoaderEnvironment, graphql.GraphQLContext graphQLContext, List<I2Foo140> keys) This methods loads the data for ${dataFetcher.graphQLType}.bar. It is generated as thegenerateBatchMappingDataFetchers
plugin parameter is true.- Parameters:
batchLoaderEnvironment
- The environement for this batch loaded. You can extract the GraphQLContext from this parameter.graphQLContext
-keys
- The objects for which the value for the bar field must be retrieved.- Returns:
- This method returns
${dataFetcher.batchMappingReturnType.value}
, as defined by thebatchMappingDataFetcherReturnType
plugin parameter.
Please look at the spring-graphql annotation for a documentation on how to return the proper values
-