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
Create a new Client that uses the AWS SIGV4 signer.
Then attempting to call .abort() on the returned Promise of any of the client API methods will result in a TypeError being thrown.
What is the expected behavior?
The method should exist on the Promise returned by the Transport; in-flight requests that are SIGV4 signed should be abortable.
Do you have any additional context?
The 3.X fix is to accept an AbortSignal parameter on API methods which will allow in-flight requests to be cancelled.
The text was updated successfully, but these errors were encountered:
What is the bug?
The
AwsSigv4SignerTransport.request
method does not return a Promise that implements all of the TransportRequestPromise members.opensearch-js/lib/Transport.d.ts
Lines 150 to 153 in 27c464f
opensearch-js/lib/aws/shared.js
Lines 80 to 81 in 27c464f
How can one reproduce the bug?
Create a new Client that uses the AWS SIGV4 signer.
Then attempting to call
.abort()
on the returned Promise of any of the client API methods will result in a TypeError being thrown.What is the expected behavior?
The method should exist on the Promise returned by the Transport; in-flight requests that are SIGV4 signed should be abortable.
Do you have any additional context?
The 3.X fix is to accept an AbortSignal parameter on API methods which will allow in-flight requests to be cancelled.
The text was updated successfully, but these errors were encountered: