Skip to content

Commit 97aba88

Browse files
committed
#4190 - directives holder has a toString()
1 parent 021fe1b commit 97aba88

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎src/main/java/graphql/language/NodeUtil.java‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,10 @@ ImmutableList<Directive> getDirectives(String directiveName) {
138138
boolean hasDirective(String directiveName) {
139139
return directivesByName.containsKey(directiveName);
140140
}
141+
142+
@Override
143+
public String toString() {
144+
return directives.toString();
145+
}
141146
}
142147
}

0 commit comments

Comments
 (0)