-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarification of the API-design employed by the SDK #1557
Comments
@thuringia Thank you for the suggestion. In 2020, we've moved to using more functional patterns in AWS SDK for JavaScript code base in utilities packages, following up with JavaScript community as they adopt more FP patterns. We don't plan to use those patterns in clients in v3, as it's in RC stage and close to general availability. Having said that, we would be considering removing classes from the codebase in v4 when the work gets prioritized. We've had internal discussions about using FP, and would be making those discussions public sometime in 2021. As a customer, do share your data points on how an fp-friendly version would be helpful. |
I've created a GitHub Discussion on FP-friendly modular AWS SDK for JavaScript #1758 |
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. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Describe the issue with documentation
A clear and concise description of what the issue is.
Hi everyone,
I'm reposting this as an issue, as there were no replies on Gitter.
Something I missed in my original question was that a signature like
const result = await command(client(), options)
would be perfectly fine, if functional-patterns are not the focus. That way the SDK would provide an API likelodash
or many built-ins.The reverse, more fp-friendly version, could be provided as a separate export (like
lodash-fp
), if desired.A babel macro/plugin would cause too much confusion with tooling here (e.g. type autocomplete).
To Reproduce (observed behavior)
n/a
Expected behavior
A description in the
README
regarding the API design of the library, ideally this also mentions things like error handling as discussed in #1549 . Personally, I'm hoping for a change towards a more idiomatic API, however this is not the goal of this issue.Screenshots
n/a
Additional context
I provided some context in my question above. Please let me know, if further details help.
The text was updated successfully, but these errors were encountered: