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
Is your request related to a problem? Please describe.
Not a problem, but there's a check for hasRequiredEndpointDiscovery in endpoint discovery code under switch statement which is always expected to be false.
Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.
Is your request related to a problem? Please describe.
Not a problem, but there's a check for hasRequiredEndpointDiscovery in endpoint discovery code under switch statement which is always expected to be false.
aws-sdk-js/lib/discover_endpoint.js
Lines 338 to 347 in d3ce713
isEndpointDiscoveryRequired="OPTIONAL"
"OPTIONAL"
aws-sdk-js/lib/discover_endpoint.js
Line 330 in d3ce713
aws-sdk-js/lib/model/operation.js
Lines 19 to 25 in d3ce713
operation.endpointdiscovery.required
is false or undefinedaws-sdk-js/lib/model/api.js
Lines 54 to 60 in d3ce713
Describe the solution you'd like
Remove redundant
hasRequiredEndpointDiscovery
check fromOPTIONAL
switch case for isEndpointDiscoveryRequired.Additional context
This was noticed while implementing endpoint discovery for AWS SDK for JavaScript (v3) in aws/aws-sdk-js-v3#2211
The text was updated successfully, but these errors were encountered: