I am making requests that have Array params, and am trying to search for requests with those params using getReqMatching. However, I am not able to do so, since getReqMatching ultimately uses === to compare the criteria params and the request params, and === will always return false in this case when comparing Objects. Ideally, I would like getReqMatching to be able to search for requests with Object params successfully.
I am making requests that have Array params, and am trying to search for requests with those params using
getReqMatching
. However, I am not able to do so, sincegetReqMatching
ultimately uses===
to compare the criteria params and the request params, and===
will always returnfalse
in this case when comparing Objects. Ideally, I would likegetReqMatching
to be able to search for requests with Object params successfully.Example: