@@ -48,6 +48,7 @@ struct ScalarType
48
48
{
49
49
std::string_view type;
50
50
std::string_view description;
51
+ std::string_view specifiedByURL;
51
52
};
52
53
53
54
using ScalarTypeList = std::vector<ScalarType>;
@@ -113,6 +114,7 @@ using InputTypeList = std::vector<InputType>;
113
114
struct Directive
114
115
{
115
116
std::string_view name;
117
+ bool isRepeatable = false ;
116
118
std::vector<std::string_view> locations;
117
119
InputFieldList arguments;
118
120
std::string_view description;
@@ -219,6 +221,7 @@ class SchemaLoader
219
221
explicit SchemaLoader (SchemaOptions&& schemaOptions);
220
222
221
223
bool isIntrospection () const noexcept ;
224
+ std::string_view getSchemaDescription () const noexcept ;
222
225
std::string_view getFilenamePrefix () const noexcept ;
223
226
std::string_view getSchemaNamespace () const noexcept ;
224
227
@@ -265,6 +268,7 @@ class SchemaLoader
265
268
void visitSchemaDefinition (const peg::ast_node& schemaDefinition);
266
269
void visitSchemaExtension (const peg::ast_node& schemaExtension);
267
270
void visitScalarTypeDefinition (const peg::ast_node& scalarTypeDefinition);
271
+ void visitScalarTypeExtension (const peg::ast_node& scalarTypeExtension);
268
272
void visitEnumTypeDefinition (const peg::ast_node& enumTypeDefinition);
269
273
void visitEnumTypeExtension (const peg::ast_node& enumTypeExtension);
270
274
void visitInputObjectTypeDefinition (const peg::ast_node& inputObjectTypeDefinition);
@@ -294,6 +298,7 @@ class SchemaLoader
294
298
295
299
const SchemaOptions _schemaOptions;
296
300
const bool _isIntrospection;
301
+ std::string_view _schemaDescription;
297
302
std::string_view _schemaNamespace;
298
303
peg::ast _ast;
299
304
0 commit comments