Skip to content

Commit

Permalink
Add space after ... and on printing inline fragments
Browse files Browse the repository at this point in the history
  • Loading branch information
adampetro committed Jun 21, 2024
1 parent d1b7385 commit 860dc7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bluejay-printer/src/executable/inline_fragment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl<'a, I: InlineFragment> Display for InlineFragmentPrinter<'a, I> {
write_indent(f, indentation)?;
write!(f, "...")?;
if let Some(type_condition) = inline_fragment.type_condition() {
write!(f, "on {}", type_condition)?;
write!(f, " on {}", type_condition)?;
}
if let Some(directives) = inline_fragment.directives() {
write!(f, "{}", DirectivesPrinter::new(directives))?;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
query MyQuery {
foo {
...on Foo {
... on Foo {
bar {
baz
}
Expand Down

0 comments on commit 860dc7c

Please sign in to comment.