1616
1717using namespace std ::literals;
1818
19- namespace graphql ::client {
19+ namespace graphql {
2020namespace benchmark {
21+ namespace client {
2122
2223const std::string& GetRequestText () noexcept
2324{
@@ -59,14 +60,16 @@ const peg::ast& GetRequestObject() noexcept
5960 return s_request;
6061}
6162
63+ } // namespace client
6264} // namespace benchmark
65+ namespace client {
6366
6467using namespace benchmark ;
6568
6669template <>
67- query::Query::Response::appointments_AppointmentConnection::pageInfo_PageInfo Response<query::Query::Response::appointments_AppointmentConnection::pageInfo_PageInfo>::parse(response::Value&& response)
70+ graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection::pageInfo_PageInfo Response<graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection::pageInfo_PageInfo>::parse(response::Value&& response)
6871{
69- query::Query::Response::appointments_AppointmentConnection::pageInfo_PageInfo result;
72+ graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection::pageInfo_PageInfo result;
7073
7174 if (response.type () == response::Type::Map)
7275 {
@@ -86,9 +89,9 @@ query::Query::Response::appointments_AppointmentConnection::pageInfo_PageInfo Re
8689}
8790
8891template <>
89- query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge::node_Appointment Response<query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge::node_Appointment>::parse(response::Value&& response)
92+ graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge::node_Appointment Response<graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge::node_Appointment>::parse(response::Value&& response)
9093{
91- query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge::node_Appointment result;
94+ graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge::node_Appointment result;
9295
9396 if (response.type () == response::Type::Map)
9497 {
@@ -123,9 +126,9 @@ query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdg
123126}
124127
125128template <>
126- query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge Response<query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge>::parse(response::Value&& response)
129+ graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge Response<graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge>::parse(response::Value&& response)
127130{
128- query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge result;
131+ graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge result;
129132
130133 if (response.type () == response::Type::Map)
131134 {
@@ -135,7 +138,7 @@ query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdg
135138 {
136139 if (member.first == R"js( node)js" sv)
137140 {
138- result.node = ModifiedResponse<query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge::node_Appointment>::parse<TypeModifier::Nullable>(std::move (member.second ));
141+ result.node = ModifiedResponse<graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge::node_Appointment>::parse<TypeModifier::Nullable>(std::move (member.second ));
139142 continue ;
140143 }
141144 }
@@ -145,9 +148,9 @@ query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdg
145148}
146149
147150template <>
148- query::Query::Response::appointments_AppointmentConnection Response<query::Query::Response::appointments_AppointmentConnection>::parse(response::Value&& response)
151+ graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection Response<graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection>::parse(response::Value&& response)
149152{
150- query::Query::Response::appointments_AppointmentConnection result;
153+ graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection result;
151154
152155 if (response.type () == response::Type::Map)
153156 {
@@ -157,12 +160,12 @@ query::Query::Response::appointments_AppointmentConnection Response<query::Query
157160 {
158161 if (member.first == R"js( pageInfo)js" sv)
159162 {
160- result.pageInfo = ModifiedResponse<query::Query::Response::appointments_AppointmentConnection::pageInfo_PageInfo>::parse (std::move (member.second ));
163+ result.pageInfo = ModifiedResponse<graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection::pageInfo_PageInfo>::parse (std::move (member.second ));
161164 continue ;
162165 }
163166 if (member.first == R"js( edges)js" sv)
164167 {
165- result.edges = ModifiedResponse<query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge>::parse<TypeModifier::Nullable, TypeModifier::List, TypeModifier::Nullable>(std::move (member.second ));
168+ result.edges = ModifiedResponse<graphql::benchmark::client:: query::Query::Response::appointments_AppointmentConnection::edges_AppointmentEdge>::parse<TypeModifier::Nullable, TypeModifier::List, TypeModifier::Nullable>(std::move (member.second ));
166169 continue ;
167170 }
168171 }
@@ -171,7 +174,9 @@ query::Query::Response::appointments_AppointmentConnection Response<query::Query
171174 return result;
172175}
173176
174- namespace query ::Query {
177+ } // namespace client
178+
179+ namespace benchmark ::client::query::Query {
175180
176181const std::string& GetOperationName () noexcept
177182{
@@ -182,6 +187,8 @@ const std::string& GetOperationName() noexcept
182187
183188Response parseResponse (response::Value&& response)
184189{
190+ using namespace graphql ::client;
191+
185192 Response result;
186193
187194 if (response.type () == response::Type::Map)
@@ -203,12 +210,12 @@ Response parseResponse(response::Value&& response)
203210
204211[[nodiscard(" unnecessary call" )]] const std::string& Traits::GetRequestText () noexcept
205212{
206- return benchmark ::GetRequestText ();
213+ return client ::GetRequestText ();
207214}
208215
209216[[nodiscard(" unnecessary call" )]] const peg::ast& Traits::GetRequestObject () noexcept
210217{
211- return benchmark ::GetRequestObject ();
218+ return client ::GetRequestObject ();
212219}
213220
214221[[nodiscard(" unnecessary call" )]] const std::string& Traits::GetOperationName () noexcept
@@ -221,5 +228,5 @@ Response parseResponse(response::Value&& response)
221228 return Query::parseResponse (std::move (response));
222229}
223230
224- } // namespace query::Query
225- } // namespace graphql::client
231+ } // namespace benchmark::client:: query::Query
232+ } // namespace graphql
0 commit comments