Skip to content

Commit 84d1d7d

Browse files
committed
Fix the GRAPHQLINTROSPECTION_EXPORT macro
1 parent fb54030 commit 84d1d7d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

include/graphqlservice/introspection/IntrospectionSchema.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,16 +230,16 @@ namespace service {
230230
#ifdef GRAPHQL_DLLEXPORTS
231231
// Export all of the built-in converters
232232
template <>
233-
GRAPHQLSERVICE_EXPORT introspection::TypeKind ModifiedArgument<introspection::TypeKind>::convert(
233+
GRAPHQLINTROSPECTION_EXPORT introspection::TypeKind ModifiedArgument<introspection::TypeKind>::convert(
234234
const response::Value& value);
235235
template <>
236-
GRAPHQLSERVICE_EXPORT std::future<ResolverResult> ModifiedResult<introspection::TypeKind>::convert(
236+
GRAPHQLINTROSPECTION_EXPORT std::future<ResolverResult> ModifiedResult<introspection::TypeKind>::convert(
237237
FieldResult<introspection::TypeKind>&& result, ResolverParams&& params);
238238
template <>
239-
GRAPHQLSERVICE_EXPORT introspection::DirectiveLocation ModifiedArgument<introspection::DirectiveLocation>::convert(
239+
GRAPHQLINTROSPECTION_EXPORT introspection::DirectiveLocation ModifiedArgument<introspection::DirectiveLocation>::convert(
240240
const response::Value& value);
241241
template <>
242-
GRAPHQLSERVICE_EXPORT std::future<ResolverResult> ModifiedResult<introspection::DirectiveLocation>::convert(
242+
GRAPHQLINTROSPECTION_EXPORT std::future<ResolverResult> ModifiedResult<introspection::DirectiveLocation>::convert(
243243
FieldResult<introspection::DirectiveLocation>&& result, ResolverParams&& params);
244244
#endif // GRAPHQL_DLLEXPORTS
245245

src/SchemaGenerator.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1857,13 +1857,13 @@ static_assert(graphql::internal::MinorVersion == )cpp"
18571857
for (const auto& enumType : _enumTypes)
18581858
{
18591859
headerFile << R"cpp(template <>
1860-
GRAPHQLSERVICE_EXPORT )cpp" << _schemaNamespace
1860+
GRAPHQLINTROSPECTION_EXPORT )cpp" << _schemaNamespace
18611861
<< R"cpp(::)cpp" << enumType.cppType << R"cpp( ModifiedArgument<)cpp"
18621862
<< _schemaNamespace << R"cpp(::)cpp" << enumType.cppType
18631863
<< R"cpp(>::convert(
18641864
const response::Value& value);
18651865
template <>
1866-
GRAPHQLSERVICE_EXPORT std::future<ResolverResult> ModifiedResult<)cpp"
1866+
GRAPHQLINTROSPECTION_EXPORT std::future<ResolverResult> ModifiedResult<)cpp"
18671867
<< _schemaNamespace << R"cpp(::)cpp" << enumType.cppType
18681868
<< R"cpp(>::convert(
18691869
FieldResult<)cpp" << _schemaNamespace
@@ -1875,7 +1875,7 @@ GRAPHQLSERVICE_EXPORT std::future<ResolverResult> ModifiedResult<)cpp"
18751875
for (const auto& inputType : _inputTypes)
18761876
{
18771877
headerFile << R"cpp(template <>
1878-
GRAPHQLSERVICE_EXPORT )cpp" << _schemaNamespace
1878+
GRAPHQLINTROSPECTION_EXPORT )cpp" << _schemaNamespace
18791879
<< R"cpp(::)cpp" << inputType.cppType << R"cpp( ModifiedArgument<)cpp"
18801880
<< inputType.cppType << R"cpp(>::convert(
18811881
const response::Value& value);

0 commit comments

Comments
 (0)