You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Enhancement] Restrict internal response body types (#416)
[Enhancement] Restrict internal response body types
What this PR does / why we need it
Restrict extract method arguments to io.Reader
Make Result.Body a byte slice
Make pagination handling less cryptic
Which issue this PR fixes
Resolves#408
Special notes for your reviewer
The reason why Result.Body is []bytes - we can read and unmarshall it multiple times. Readers are expected to be read once.
Progress:
lint passing
pagination unit tests passing
other unit tests passing (here previous implementation iterations died)
acceptance tests passing
Reviewed-by: Aloento <None>
Reviewed-by: Anton Kachurin <None>
Reviewed-by: Artem Lifshits <None>
0 commit comments