Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
See gh-371
  • Loading branch information
bclozel committed May 17, 2022
1 parent d8c2bab commit 29dcded
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,9 @@ interface Request<T extends Request<T>> {
T variable(String name, @Nullable Object value);

/**
* Add a variable.
* @param name the variable name
* @param value the variable value, possibly {@code null} since GraphQL
* supports providing null value vs not providing a value at all.
* Add a value for a protocol extension.
* @param name the protocol extension name
* @param value the extension value
* @return this request spec
*/
T extension(String name, @Nullable Object value);
Expand Down

0 comments on commit 29dcded

Please sign in to comment.