Skip to content

Conversation

@ahmadbilaldev
Copy link
Contributor

This PR fixes the response headers handling, where if the raw response was requested, it was converting the shape of responses from array into objects.

Copy link
Contributor

@msaaddev msaaddev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@saqibameen
Copy link
Member

don't we also need to update the read part to now read this custom property of array object? rest looks good to me

@ahmadbilaldev
Copy link
Contributor Author

don't we also need to update the read part to now read this custom property of array object? rest looks good to me

I tested and it is being read correctly. It works the same way for both objects and arrays as non-enumerable properties are accessed normally with dot notation.

@ahmadbilaldev ahmadbilaldev merged commit 262e7bc into main Jul 17, 2025
0 of 5 checks passed
@ahmadbilaldev ahmadbilaldev deleted the bilal/fix-interceptors branch July 17, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants