package Ġcom . graphql . example Ċ Ċ import Ġcom . exp edi ag roup . graphql . generator . Schema Generator Config Ċ import Ġcom . exp edi ag roup . graphql . generator . TopLevel Object Ċ import Ġcom . exp edi ag roup . graphql . generator . to Schema Ċ import Ġcom . graphql . example . schema .* Ċ import Ġgraphql . GraphQL Ċ Ċ private Ġval Ġconfig Ġ= ĠSchema Generator Config ( supported Packages Ġ= ĠlistOf (" com . graphql . example ")) Ċ private Ġval Ġqueries Ġ= ĠlistOf ( Ċ // ĠĠĠ ĠTop Level Object ( Hello Query Service ()), ĊĠĠĠ ĠTop Level Object ( Hello Query Service ()), ĊĠĠĠ ĠTop Level Object ( Pokemon Query Service ()), ĊĠĠĠ ĠTop Level Object ( P ok em ons Query Service ()), ĊĠĠĠ ĠTop Level Object ( Game Query Service ()), ĊĠĠĠ ĠTop Level Object ( Games Query Service ()), Ċ ) Ċ Ċ // ĠAny Ġpublic Ġfunctions Ġdefined Ġon Ġquery ĠKotlin Ġclass Ġwill Ġbe Ġtranslated Ġinto ĠG QL Ġfields Ġon Ġthe Ġobj Ġtype . Ċ // Ġto Schema Ġwill Ġthen Ġrecursively Ġap pl u ĠKotlin Ġreflection Ġon Ġthe Ġspecified Ġclasses Ċ private Ġval Ġgraph QL Schema Ġ= Ġto Schema ( config , Ġqueries ) Ċ Ċ // ĠOur Ġroot Ġaccess Ġto Ġquery ĠG QL Ċ val Ġgraph QL : ĠGraphQL Ġ= ĠGraphQL . new GraphQL ( graph QL Schema ). build () Ċ