Commit 7815f6d
Garry Filakhtov
Fix state carrying in the Client
When I was removing all the pass-by-reference instances, I have accidentally broken state carrying.
We have previously been relying on mutating the values passed by reference and once those references were removed we needed to pass the explicitly.
I did so in the recursion, but missed the innermost callback that is passed from outside the `intercept()` method.
This resulted in losing metadata accumulated accross multiple interceptors.
The `Client` has now been updated to properly preserve the state.1 parent 037fa1c commit 7815f6d
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| |||
127 | 132 | | |
128 | 133 | | |
129 | 134 | | |
130 | | - | |
| 135 | + | |
131 | 136 | | |
132 | 137 | | |
133 | 138 | | |
| |||
139 | 144 | | |
140 | 145 | | |
141 | 146 | | |
142 | | - | |
| 147 | + | |
143 | 148 | | |
144 | 149 | | |
145 | 150 | | |
| |||
0 commit comments