Commit 9999507
committed
output: allow filtering for non-list apis
Currently, filtering is not working when the response object is not
returning an array. This PR makes changes to allow filtering when
response object is an array or a map.
For async apis, filter arg is passed to the query request allowing
filtering to work with the final response.
Signed-off-by: Abhishek Kumar <[email protected]>1 parent a6552ee commit 9999507
2 files changed
+33
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
161 | 170 | | |
162 | 171 | | |
163 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
209 | 227 | | |
210 | | - | |
| 228 | + | |
| 229 | + | |
211 | 230 | | |
212 | 231 | | |
213 | 232 | | |
214 | 233 | | |
215 | 234 | | |
216 | 235 | | |
217 | | - | |
| 236 | + | |
218 | 237 | | |
| 238 | + | |
219 | 239 | | |
220 | 240 | | |
221 | 241 | | |
222 | 242 | | |
223 | 243 | | |
224 | 244 | | |
| 245 | + | |
225 | 246 | | |
226 | 247 | | |
227 | 248 | | |
| |||
0 commit comments