package Ġcom . dong hol ab . graphql Ċ Ċ import Ġcom . dong hol ab . graphql . config . Custom Bean Name Generator Ċ import Ġcom . dong hol ab . graphql . directives . Custom Directive W iring Factory Ċ import Ġcom . dong hol ab . graphql . exceptions . Custom Data Fetcher ExceptionHandler Ċ import Ġcom . dong hol ab . graphql . execution . Custom Data Fetcher Factory Provider Ċ import Ġcom . dong hol ab . graphql . execution . My Subscription Hooks Ċ import Ġcom . dong hol ab . graphql . execution . Spring Data Fetcher Factory Ċ import Ġcom . dong hol ab . graphql . hooks . Custom Schema Generator Hooks Ċ import Ġcom . exp edi ag roup . graphql . generator . directives . Kotlin Directive W iring Factory Ċ import Ġcom . exp edi ag roup . graphql . server . spring . subscriptions . A pol lo Subscription Hooks Ċ import Ġcom . fasterxml . jackson . databind . ObjectMapper Ċ import Ġgraphql . execution . Data Fetcher ExceptionHandler Ċ import Ġorg . springframework . boot . autoconfigure . SpringBoot Application Ċ import Ġorg . springframework . boot . run Application Ċ import Ġorg . springframework . context . ApplicationContext Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Component Scan Ċ import Ġorg . springframework . data . jpa . repository . config . Enable Jpa Repositories Ċ import Ġorg . springframework . data . r 2 dbc . repository . config . Enable R 2 dbc Repositories Ċ Ċ @ SpringBoot Application Ċ @ Enable R 2 dbc Repositories ( base Packages Ġ= Ġ[" com . dong hol ab . graphql . repository . reactive "]) Ċ @ Enable Jpa Repositories ( base Packages Ġ= Ġ[" com . dong hol ab . graphql . repository . jpa "]) Ċ @ Component Scan ( name Generator Ġ= ĠCustom Bean Name Generator :: class ) Ċ class ĠApplication Ġ{ ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġw iring Factory () Ġ= ĠCustom Directive W iring Factory () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġhooks ( w iring Factory : ĠKotlin Directive W iring Factory ) Ġ= ĠCustom Schema Generator Hooks ( w iring Factory ) ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġdata Fetcher Factory Provider ( ĊĠĠĠĠĠĠĠ Ġspring Data Fetcher Factory : ĠSpring Data Fetcher Factory , ĊĠĠĠĠĠĠĠ ĠobjectMapper : ĠObjectMapper , ĊĠĠĠĠĠĠĠ Ġapplication Context : ĠApplication Context ĊĠĠĠ Ġ) Ġ= ĠCustom Data Fetcher Factory Provider ( spring Data Fetcher Factory , ĠobjectMapper , Ġapplication Context ) ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġdata Fetcher ExceptionHandler (): ĠData Fetcher ExceptionHandler Ġ= ĠCustom Data Fetcher ExceptionHandler () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġap ollo Subscription Hooks (): ĠApollo Subscription Hooks Ġ= ĠMy Subscription Hooks () Ċ } Ċ Ċ fun Ġmain ( args : ĠArray < String >) Ġ{ ĊĠĠĠ Ġrun Application < Application >(* args ) Ċ } Ċ