package Ġjp . sad ashi . sample . apollo . client . infra Ċ Ċ import Ġcom . ap ol log raph ql . apollo . A pol lo Client Ċ import Ġcom . ap ol log raph ql . apollo . api . Input Ċ import Ġcom . ap ol log raph ql . apollo . api . Response Ċ import Ġcom . ap ol log raph ql . apollo . coroutines . await Ċ import Ġjp . sad ashi . sample . apollo . client . domain . UserRepository Ċ import Ġjp . sad ashi . sample . apollo . client . graphql . Search User Query Ċ import Ġjp . sad ashi . sample . apollo . client . graphql . User Detail Query Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠUser Repository Impl Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval ĠapiClient : ĠApollo Client Ċ ) Ġ: ĠUser Repository Ġ{ ĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġquery ( query : ĠString , Ġcursor : ĠString ?): ĠResponse < Search User Query . Data > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠapiClient . query ( Search User Query ( query Ġ= Ġquery , Ġcursor Ġ= ĠInput . optional ( cursor ))) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. await () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġget ( login : ĠString ): ĠResponse < User Detail Query . Data > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠapiClient . query ( User Detail Query ( login Ġ= Ġlogin )). await () ĊĠĠĠ Ġ} Ċ }