Class SpringKotlinDataFetcherFactoryProvider
-
- All Implemented Interfaces:
-
com.expediagroup.graphql.generator.execution.KotlinDataFetcherFactoryProvider
public class SpringKotlinDataFetcherFactoryProvider extends SimpleKotlinDataFetcherFactoryProvider
This provides a wrapper around the SimpleKotlinDataFetcherFactoryProvider to call the SpringDataFetcher on functions. This allows you to use Spring beans as function arugments and they will be populated by the data fetcher.
-
-
Constructor Summary
Constructors Constructor Description SpringKotlinDataFetcherFactoryProvider(ApplicationContext applicationContext)
-
Method Summary
Modifier and Type Method Description DataFetcherFactory<Object>
functionDataFetcherFactory(Object target, KClass<?> kClass, KFunction<?> kFunction)
-
-
Method Detail
-
functionDataFetcherFactory
DataFetcherFactory<Object> functionDataFetcherFactory(Object target, KClass<?> kClass, KFunction<?> kFunction)
-
-
-
-