Pass the parameter matchOperator in Request.WithPath to its inner calls (#1414)

Co-authored-by: Luca Ma <lucama@microsoft.com>
This commit is contained in:
Luca Ma
2026-01-04 15:03:19 +08:00
committed by GitHub
parent c88e7378a7
commit 9cee6dde00

View File

@@ -21,7 +21,7 @@ public partial class Request
{ {
Guard.NotNullOrEmpty(matchers); Guard.NotNullOrEmpty(matchers);
_requestMatchers.Add(new RequestMessagePathMatcher(MatchBehaviour.AcceptOnMatch, MatchOperator.Or, matchers)); _requestMatchers.Add(new RequestMessagePathMatcher(MatchBehaviour.AcceptOnMatch, matchOperator, matchers));
return this; return this;
} }