Closed 95th closed 2 years ago
Hey! Thanks for the PR - the fix looks alright, but I'd prefer to avoid introducing breaking changes for this issue. Could you rework the implementation to backwards-compatible?
@LukeMathWalker I changed it to use an enum for body and kept the member functions.
Looking good!
The partial JSON matcher is its own feature and it should be its own matcher - having a partial
method on something named BodyExactMatcher
is not great.
yes. I thought so. let me move it out.
How about in BodyContainsMatcher
-- could call the standalone function body_contains_json
- because that's what it checks? Or a separate type?
Too late. already done.
Thanks for the PR!
Fix body_json matching and implement Partial json matching.
Closes https://github.com/LukeMathWalker/wiremock-rs/issues/79