Support for custom match rules
colintheshots opened this issue · 2 comments
colintheshots commented
Sometimes the default match rules just aren't enough. There should be support for setting custom match rules. For example, some queries have time information in them, which would need to be stripped before comparing bodies. I'll see if I can get a pull request started perhaps.
colintheshots commented
I think I figured out a way to accomplish this by setting the defaultMatchRule in the OkReplayConfig, but not per annotation.
felipecsl commented
Yep, that's supported via OkReplayConfig#defaultMatchRule