wiremock / wiremock-graphql-extension

GraphQL extension for WireMock
MIT License
22 stars 4 forks source link

Remote 向けのAPIをよくする #2

Closed nilwurtz closed 1 year ago

nilwurtz commented 1 year ago

現状、

.andMatching("graphql-body-matcher", Parameters.one("expectedQuery", json))

なので直感的でなく使いにくい

.andMatching(GraphqlBodyMatcher().name, GraphqlBodyMatcher().withQuery(json)))

的な使い心地にしたい。

nilwurtz commented 1 year ago

RemoteでもLocalでもParameters.oneを使う方式で稼働することがわかった。 こちらに全てAPIを寄せていくことにする。

ただClient(Serverインスタンス)の方は、RemoteとLocalで特別な記述が必要なのでそれを明記する