Skip to content

Commit

Permalink
Add @jvmoverloads to withRequestQueryAndVariables for use in other JV…
Browse files Browse the repository at this point in the history
…M languages.
  • Loading branch information
kyle-winkelman committed Dec 11, 2023
1 parent 00117df commit 8132329
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class GraphqlBodyMatcher() : RequestMatcherExtension() {
*/
@Deprecated("This method will be deleted in a future release. Use withRequestJson instead.")
@JvmStatic
@JvmOverloads
fun withRequestQueryAndVariables(expectedQuery: String, expectedVariables: String? = null): GraphqlBodyMatcher {
// Avoid to parse json here. It will be parsed in initExpectedRequestJson
return GraphqlBodyMatcher().apply {
Expand Down

0 comments on commit 8132329

Please sign in to comment.