Skip to content

Commit e0289c6

Browse files
committed
Regenerate samples
1 parent 941adaf commit e0289c6

File tree

5 files changed

+642
-482
lines changed

5 files changed

+642
-482
lines changed

SchemaGenerator.cpp

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ Operations::Operations()cpp";
18291829
sourceFile << R"cpp( schema->AddType(")cpp" << scalarType.type
18301830
<< R"cpp(", std::make_shared<)cpp" << s_introspectionNamespace
18311831
<< R"cpp(::ScalarType>(")cpp" << scalarType.type
1832-
<< R"cpp(", ")cpp" << scalarType.description << R"cpp("));
1832+
<< R"cpp(", R"gql()cpp" << scalarType.description << R"cpp()gql"));
18331833
)cpp";
18341834
}
18351835
}
@@ -1841,7 +1841,7 @@ Operations::Operations()cpp";
18411841
sourceFile << R"cpp( auto type)cpp" << enumType.type
18421842
<< R"cpp(= std::make_shared<)cpp" << s_introspectionNamespace
18431843
<< R"cpp(::EnumType>(")cpp" << enumType.type
1844-
<< R"cpp(", ")cpp" << enumType.description << R"cpp(");
1844+
<< R"cpp(", R"gql()cpp" << enumType.description << R"cpp()gql");
18451845
schema->AddType(")cpp" << enumType.type
18461846
<< R"cpp(", type)cpp" << enumType.type
18471847
<< R"cpp();
@@ -1856,7 +1856,7 @@ Operations::Operations()cpp";
18561856
sourceFile << R"cpp( auto type)cpp" << inputType.type
18571857
<< R"cpp(= std::make_shared<)cpp" << s_introspectionNamespace
18581858
<< R"cpp(::InputObjectType>(")cpp" << inputType.type
1859-
<< R"cpp(", ")cpp" << inputType.description << R"cpp(");
1859+
<< R"cpp(", R"gql()cpp" << inputType.description << R"cpp()gql");
18601860
schema->AddType(")cpp" << inputType.type
18611861
<< R"cpp(", type)cpp" << inputType.type
18621862
<< R"cpp();
@@ -1871,7 +1871,7 @@ Operations::Operations()cpp";
18711871
sourceFile << R"cpp( auto type)cpp" << unionType.type
18721872
<< R"cpp(= std::make_shared<)cpp" << s_introspectionNamespace
18731873
<< R"cpp(::UnionType>(")cpp" << unionType.type
1874-
<< R"cpp(", ")cpp" << unionType.description << R"cpp(");
1874+
<< R"cpp(", R"gql()cpp" << unionType.description << R"cpp()gql");
18751875
schema->AddType(")cpp" << unionType.type
18761876
<< R"cpp(", type)cpp" << unionType.type
18771877
<< R"cpp();
@@ -1886,7 +1886,7 @@ Operations::Operations()cpp";
18861886
sourceFile << R"cpp( auto type)cpp" << interfaceType.type
18871887
<< R"cpp(= std::make_shared<)cpp" << s_introspectionNamespace
18881888
<< R"cpp(::InterfaceType>(")cpp" << interfaceType.type
1889-
<< R"cpp(", ")cpp" << interfaceType.description << R"cpp(");
1889+
<< R"cpp(", R"gql()cpp" << interfaceType.description << R"cpp()gql");
18901890
schema->AddType(")cpp" << interfaceType.type
18911891
<< R"cpp(", type)cpp" << interfaceType.type
18921892
<< R"cpp();
@@ -1901,7 +1901,7 @@ Operations::Operations()cpp";
19011901
sourceFile << R"cpp( auto type)cpp" << objectType.type
19021902
<< R"cpp(= std::make_shared<)cpp" << s_introspectionNamespace
19031903
<< R"cpp(::ObjectType>(")cpp" << objectType.type
1904-
<< R"cpp(", ")cpp" << objectType.description << R"cpp(");
1904+
<< R"cpp(", R"gql()cpp" << objectType.description << R"cpp()gql");
19051905
schema->AddType(")cpp" << objectType.type
19061906
<< R"cpp(", type)cpp" << objectType.type
19071907
<< R"cpp();
@@ -1934,7 +1934,7 @@ Operations::Operations()cpp";
19341934

19351935
firstValue = false;
19361936
sourceFile << R"cpp( { ")cpp" << enumValue.value
1937-
<< R"cpp(", ")cpp" << enumValue.description << R"cpp(" })cpp";
1937+
<< R"cpp(", R"gql()cpp" << enumValue.description << R"cpp()gql" })cpp";
19381938
}
19391939

19401940
sourceFile << R"cpp(
@@ -1989,8 +1989,8 @@ Operations::Operations()cpp";
19891989
firstValue = false;
19901990
sourceFile << R"cpp( std::make_shared<)cpp" << s_introspectionNamespace
19911991
<< R"cpp(::InputValue>(")cpp" << inputField.name
1992-
<< R"cpp(", ")cpp" << inputField.description
1993-
<< R"cpp(", )cpp" << getIntrospectionType(inputField.type, inputField.modifiers)
1992+
<< R"cpp(", R"gql()cpp" << inputField.description
1993+
<< R"cpp()gql", )cpp" << getIntrospectionType(inputField.type, inputField.modifiers)
19941994
<< R"cpp(, default)cpp" << inputType.type << inputField.name << R"cpp())cpp";
19951995
}
19961996

@@ -2079,8 +2079,8 @@ Operations::Operations()cpp";
20792079
firstValue = false;
20802080
sourceFile << R"cpp( std::make_shared<)cpp" << s_introspectionNamespace
20812081
<< R"cpp(::Field>(")cpp" << interfaceField.name
2082-
<< R"cpp(", ")cpp" << interfaceField.description
2083-
<< R"cpp(", std::vector<std::shared_ptr<)cpp" << s_introspectionNamespace
2082+
<< R"cpp(", R"gql()cpp" << interfaceField.description
2083+
<< R"cpp()gql", std::vector<std::shared_ptr<)cpp" << s_introspectionNamespace
20842084
<< R"cpp(::InputValue>>()cpp";
20852085

20862086
if (!interfaceField.arguments.empty())
@@ -2106,8 +2106,8 @@ Operations::Operations()cpp";
21062106
firstArgument = false;
21072107
sourceFile << R"cpp( std::make_shared<)cpp" << s_introspectionNamespace
21082108
<< R"cpp(::InputValue>(")cpp" << argument.name
2109-
<< R"cpp(", ")cpp" << argument.description
2110-
<< R"cpp(", )cpp" << getIntrospectionType(argument.type, argument.modifiers)
2109+
<< R"cpp(", R"gql()cpp" << argument.description
2110+
<< R"cpp()gql", )cpp" << getIntrospectionType(argument.type, argument.modifiers)
21112111
<< R"cpp(, default)cpp" << interfaceType.type << interfaceField.name << argument.name << R"cpp())cpp";
21122112
}
21132113

@@ -2194,8 +2194,8 @@ Operations::Operations()cpp";
21942194
firstValue = false;
21952195
sourceFile << R"cpp( std::make_shared<)cpp" << s_introspectionNamespace
21962196
<< R"cpp(::Field>(")cpp" << objectField.name
2197-
<< R"cpp(", ")cpp" << objectField.description
2198-
<< R"cpp(", std::vector<std::shared_ptr<)cpp" << s_introspectionNamespace
2197+
<< R"cpp(", R"gql()cpp" << objectField.description
2198+
<< R"cpp()gql", std::vector<std::shared_ptr<)cpp" << s_introspectionNamespace
21992199
<< R"cpp(::InputValue>>()cpp";
22002200

22012201
if (!objectField.arguments.empty())
@@ -2221,8 +2221,8 @@ Operations::Operations()cpp";
22212221
firstArgument = false;
22222222
sourceFile << R"cpp( std::make_shared<)cpp" << s_introspectionNamespace
22232223
<< R"cpp(::InputValue>(")cpp" << argument.name
2224-
<< R"cpp(", ")cpp" << argument.description
2225-
<< R"cpp(", )cpp" << getIntrospectionType(argument.type, argument.modifiers)
2224+
<< R"cpp(", R"gql()cpp" << argument.description
2225+
<< R"cpp()gql", )cpp" << getIntrospectionType(argument.type, argument.modifiers)
22262226
<< R"cpp(, default)cpp" << objectType.type << objectField.name << argument.name << R"cpp())cpp";
22272227
}
22282228

0 commit comments

Comments
 (0)