@@ -47,32 +47,34 @@ const peg::ast& GetRequestObject() noexcept
4747
4848} // namespace nestedinput
4949
50+ using namespace nestedinput ;
51+
5052template <>
51- constexpr bool isInputType<query::testQuery::Variables:: InputA>() noexcept
53+ constexpr bool isInputType<InputA>() noexcept
5254{
5355 return true ;
5456}
5557
5658template <>
57- constexpr bool isInputType<query::testQuery::Variables:: InputB>() noexcept
59+ constexpr bool isInputType<InputB>() noexcept
5860{
5961 return true ;
6062}
6163
6264template <>
63- constexpr bool isInputType<query::testQuery::Variables:: InputABCD>() noexcept
65+ constexpr bool isInputType<InputABCD>() noexcept
6466{
6567 return true ;
6668}
6769
6870template <>
69- constexpr bool isInputType<query::testQuery::Variables:: InputBC>() noexcept
71+ constexpr bool isInputType<InputBC>() noexcept
7072{
7173 return true ;
7274}
7375
7476template <>
75- response::Value ModifiedVariable<query::testQuery::Variables:: InputA>::serialize(query::testQuery::Variables:: InputA&& inputValue)
77+ response::Value ModifiedVariable<InputA>::serialize(InputA&& inputValue)
7678{
7779 response::Value result { response::Type::Map };
7880
@@ -82,7 +84,7 @@ response::Value ModifiedVariable<query::testQuery::Variables::InputA>::serialize
8284}
8385
8486template <>
85- response::Value ModifiedVariable<query::testQuery::Variables:: InputB>::serialize(query::testQuery::Variables:: InputB&& inputValue)
87+ response::Value ModifiedVariable<InputB>::serialize(InputB&& inputValue)
8688{
8789 response::Value result { response::Type::Map };
8890
@@ -92,25 +94,25 @@ response::Value ModifiedVariable<query::testQuery::Variables::InputB>::serialize
9294}
9395
9496template <>
95- response::Value ModifiedVariable<query::testQuery::Variables:: InputABCD>::serialize(query::testQuery::Variables:: InputABCD&& inputValue)
97+ response::Value ModifiedVariable<InputABCD>::serialize(InputABCD&& inputValue)
9698{
9799 response::Value result { response::Type::Map };
98100
99101 result.emplace_back (R"js( d)js" s, ModifiedVariable<std::string>::serialize (std::move (inputValue.d )));
100- result.emplace_back (R"js( a)js" s, ModifiedVariable<query::testQuery::Variables:: InputA>::serialize (std::move (inputValue.a )));
101- result.emplace_back (R"js( b)js" s, ModifiedVariable<query::testQuery::Variables:: InputB>::serialize (std::move (inputValue.b )));
102- result.emplace_back (R"js( bc)js" s, ModifiedVariable<query::testQuery::Variables:: InputBC>::serialize<TypeModifier::List>(std::move (inputValue.bc )));
102+ result.emplace_back (R"js( a)js" s, ModifiedVariable<InputA>::serialize (std::move (inputValue.a )));
103+ result.emplace_back (R"js( b)js" s, ModifiedVariable<InputB>::serialize (std::move (inputValue.b )));
104+ result.emplace_back (R"js( bc)js" s, ModifiedVariable<InputBC>::serialize<TypeModifier::List>(std::move (inputValue.bc )));
103105
104106 return result;
105107}
106108
107109template <>
108- response::Value ModifiedVariable<query::testQuery::Variables:: InputBC>::serialize(query::testQuery::Variables:: InputBC&& inputValue)
110+ response::Value ModifiedVariable<InputBC>::serialize(InputBC&& inputValue)
109111{
110112 response::Value result { response::Type::Map };
111113
112114 result.emplace_back (R"js( c)js" s, ModifiedVariable<response::IdType>::serialize (std::move (inputValue.c )));
113- result.emplace_back (R"js( b)js" s, ModifiedVariable<query::testQuery::Variables:: InputB>::serialize (std::move (inputValue.b )));
115+ result.emplace_back (R"js( b)js" s, ModifiedVariable<InputB>::serialize (std::move (inputValue.b )));
114116
115117 return result;
116118}
@@ -172,7 +174,7 @@ response::Value serializeVariables(Variables&& variables)
172174{
173175 response::Value result { response::Type::Map };
174176
175- result.emplace_back (R"js( stream)js" s, ModifiedVariable<Variables:: InputABCD>::serialize (std::move (variables.stream )));
177+ result.emplace_back (R"js( stream)js" s, ModifiedVariable<InputABCD>::serialize (std::move (variables.stream )));
176178
177179 return result;
178180}
0 commit comments