Closed connelly38 closed 2 years ago
Is there a test that verifies this does what you want and fixes the missing stats?
Also the new fields that are copied are part of Request so why not create a couple of methods in Request to copy those vs exposing the fields and doing it in QueryRequest?
There isn't a test yet. I'll create one. I found this while testing other things in rate limiting.
I'll look at changing the logic to use a Request method.
Changed the query logic to copy various fields (retryStats, rate limiters, etc) back to the original request after processing. The original logic already made a copy of the request before processing it; this change just makes sure to copy back any fields that may have changed.