|
11 | 11 | #include "graphqlservice/GraphQLResponse.h" |
12 | 12 | #include "graphqlservice/GraphQLService.h" |
13 | 13 |
|
| 14 | +#include "graphqlservice/internal/DllExports.h" |
14 | 15 | #include "graphqlservice/internal/Version.h" |
15 | 16 | #include "graphqlservice/internal/Schema.h" |
16 | 17 |
|
|
25 | 26 | static_assert(graphql::internal::MajorVersion == 5, "regenerate with schemagen: major version mismatch"); |
26 | 27 | static_assert(graphql::internal::MinorVersion == 0, "regenerate with schemagen: minor version mismatch"); |
27 | 28 |
|
28 | | -namespace graphql { |
29 | | -namespace introspection { |
| 29 | +namespace graphql::introspection { |
30 | 30 | class Schema; |
31 | 31 | class Type; |
32 | 32 | class Field; |
@@ -54,33 +54,6 @@ void AddDirectiveDetails(const std::shared_ptr<schema::ObjectType>& typeDirectiv |
54 | 54 |
|
55 | 55 | GRAPHQLSERVICE_EXPORT void AddTypesToSchema(const std::shared_ptr<schema::Schema>& schema); |
56 | 56 |
|
57 | | -} // namespace introspection |
58 | | - |
59 | | -namespace service { |
60 | | - |
61 | | -#ifdef GRAPHQL_DLLEXPORTS |
62 | | -// Export all of the built-in converters |
63 | | -template <> |
64 | | -GRAPHQLSERVICE_EXPORT introspection::TypeKind Argument<introspection::TypeKind>::convert( |
65 | | - const response::Value& value); |
66 | | -template <> |
67 | | -GRAPHQLSERVICE_EXPORT AwaitableResolver Result<introspection::TypeKind>::convert( |
68 | | - AwaitableScalar<introspection::TypeKind> result, ResolverParams&& params); |
69 | | -template <> |
70 | | -GRAPHQLSERVICE_EXPORT void Result<introspection::TypeKind>::validateScalar( |
71 | | - const response::Value& value); |
72 | | -template <> |
73 | | -GRAPHQLSERVICE_EXPORT introspection::DirectiveLocation Argument<introspection::DirectiveLocation>::convert( |
74 | | - const response::Value& value); |
75 | | -template <> |
76 | | -GRAPHQLSERVICE_EXPORT AwaitableResolver Result<introspection::DirectiveLocation>::convert( |
77 | | - AwaitableScalar<introspection::DirectiveLocation> result, ResolverParams&& params); |
78 | | -template <> |
79 | | -GRAPHQLSERVICE_EXPORT void Result<introspection::DirectiveLocation>::validateScalar( |
80 | | - const response::Value& value); |
81 | | -#endif // GRAPHQL_DLLEXPORTS |
82 | | - |
83 | | -} // namespace service |
84 | | -} // namespace graphql |
| 57 | +} // namespace graphql::introspection |
85 | 58 |
|
86 | 59 | #endif // INTROSPECTIONSCHEMA_H |
0 commit comments