We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ac56ad commit b9c5efbCopy full SHA for b9c5efb
JsonVisitor.cpp
@@ -261,10 +261,10 @@ void JsonVisitor::endVisitInlineFragment(const InlineFragment &inlineFragment) {
261
262
auto nextChild = children.begin();
263
if (inlineFragment.getTypeCondition() != nullptr) {
264
- out_ << "\"typeCondition\":" << *nextChild++;
+ out_ << "\"typeCondition\":" << *nextChild++ << ',';
265
}
266
267
- out_ << ",\"directives\":";
+ out_ << "\"directives\":";
268
const auto *directives = inlineFragment.getDirectives();
269
if (directives != nullptr) {
270
printChildArray(nextChild, directives->size());
0 commit comments