Skip to content

Commit 9716190

Browse files
henryqdineenandimarek
authored andcommitted
multiple interfaces should use ampersand
1 parent 3312c5c commit 9716190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/graphql/schema/idl/SchemaPrinter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ private TypePrinter<GraphQLObjectType> objectPrinter() {
291291
.sorted(Comparator.naturalOrder());
292292
out.format("type %s implements %s {\n",
293293
type.getName(),
294-
interfaceNames.collect(joining(", ")));
294+
interfaceNames.collect(joining(" & ")));
295295
}
296296

297297
visibility.getFieldDefinitions(type)

0 commit comments

Comments
 (0)