Skip to content

fix: req support for pod identity#1189

Open
brentjanderson wants to merge 1 commit intoex-aws:mainfrom
knocklabs:bja-pod-identity-http-opts-req
Open

fix: req support for pod identity#1189
brentjanderson wants to merge 1 commit intoex-aws:mainfrom
knocklabs:bja-pod-identity-http-opts-req

Conversation

@brentjanderson
Copy link

The current pod identity implementation provides defaults that are merged into other http options. The Pod identity request defaults include :recv_timeout which is incompatible with Req. By following #1095 we can unblock Req adapter users on pod identity implementation. A more robust fix that would also be a breaking change would involve getting the default HTTP options from the adapter itself for various use-cases, and merging those into the implementation.

The current pod identity implementation provides defaults that are merged into other http options. The Pod identity request defaults include :recv_timeout which is incompatible with Req. By following ex-aws#1095 we can unblock Req adapter users on pod identity implementation. A more robust fix that would also be a breaking change would involve getting the default HTTP options from the adapter itself for various use-cases, and merging those into the implementation.
@brentjanderson
Copy link
Author

Saw that this is an alternative to #1175 - the approach to each seems mutually exclusive.

@Szetty
Copy link

Szetty commented Dec 17, 2025

Saw that this is an alternative to #1175 - the approach to each seems mutually exclusive.

I like this solution better, was not aware we are already doing some renaming for Req, so this approach is more consistent and less intrusive for sure

@Szetty
Copy link

Szetty commented Feb 24, 2026

@bernardd

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.

2 participants