Skip to content

Commit e1e5f1f

Browse files
committed
fix: include <Prefix>SharedTypes.h in clients
1 parent eee1d66 commit e1e5f1f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

samples/client/benchmark/TodayClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#include "graphqlservice/internal/Version.h"
1616

17-
#include "TodaySchema.h"
17+
#include "TodaySharedTypes.h"
1818

1919
#include <optional>
2020
#include <string>

samples/proxy/query/ProxyClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#include "graphqlservice/internal/Version.h"
1616

17-
#include "ProxySchema.h"
17+
#include "ProxySharedTypes.h"
1818

1919
#include <optional>
2020
#include <string>

src/ClientGenerator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ bool Generator::outputHeader() const noexcept
198198
{
199199
headerFile << R"cpp(
200200
#include ")cpp" << _schemaLoader.getFilenamePrefix()
201-
<< R"cpp(Schema.h"
201+
<< R"cpp(SharedTypes.h"
202202
)cpp";
203203
}
204204

@@ -1640,7 +1640,7 @@ int main(int argc, char** argv)
16401640
po::bool_switch(&noIntrospection),
16411641
"Do not expect support for Introspection")("shared-types",
16421642
po::bool_switch(&sharedTypes),
1643-
"Re-use shared types from <prefix>Schema.h");
1643+
"Re-use shared types from <prefix>SharedTypes.h");
16441644
positional.add("schema", 1).add("request", 1).add("prefix", 1).add("namespace", 1);
16451645

16461646
try

0 commit comments

Comments
 (0)