We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5b3815 commit 9bb198eCopy full SHA for 9bb198e
SchemaGenerator.cpp
@@ -363,14 +363,11 @@ void Generator::visitObjectTypeDefinition(const peg::ast_node& objectTypeDefinit
363
return false;
364
});
365
366
- peg::for_each_child<peg::implements_interfaces>(objectTypeDefinition,
+ peg::for_each_child<peg::interface_type>(objectTypeDefinition,
367
[&interfaces](const peg::ast_node& child)
368
{
369
- for (const auto& namedType : child.children)
370
- {
371
- interfaces.push_back(namedType->content());
372
- }
373
- return false;
+ interfaces.push_back(child.content());
+ return true;
374
375
376
peg::for_each_child<peg::fields_definition>(objectTypeDefinition,
0 commit comments