Skip to content

Commit 29dcded

Browse files
committed
Polish
See gh-371
1 parent d8c2bab commit 29dcded

File tree

1 file changed

+3
-4
lines changed
  • spring-graphql-test/src/main/java/org/springframework/graphql/test/tester

1 file changed

+3
-4
lines changed

spring-graphql-test/src/main/java/org/springframework/graphql/test/tester/GraphQlTester.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,9 @@ interface Request<T extends Request<T>> {
150150
T variable(String name, @Nullable Object value);
151151

152152
/**
153-
* Add a variable.
154-
* @param name the variable name
155-
* @param value the variable value, possibly {@code null} since GraphQL
156-
* supports providing null value vs not providing a value at all.
153+
* Add a value for a protocol extension.
154+
* @param name the protocol extension name
155+
* @param value the extension value
157156
* @return this request spec
158157
*/
159158
T extension(String name, @Nullable Object value);

0 commit comments

Comments
 (0)