Skip to content
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

[Breaking change] Fix client ready() method when using async/await syntax [ON HOLD] #358

Draft
wants to merge 5 commits into
base: development
Choose a base branch
from

Conversation

EmilianoSanchez
Copy link
Contributor

@EmilianoSanchez EmilianoSanchez commented Oct 8, 2024

JavaScript commons library

What did you accomplish?

  • Removed promise wrapper to fix an issue with the client ready method that caused the returned promise to hang on async/await syntax if it was rejected.
  • The fix implies a breaking change since now the user must handle the promise rejection explicitly.

How do we test the changes introduced in this PR?

  • Unit tests and E2E tests in JS SDK.

Extra Notes

@EmilianoSanchez EmilianoSanchez requested a review from a team as a code owner October 8, 2024 15:41
@EmilianoSanchez EmilianoSanchez changed the base branch from breaking_changes to breaking_changes_remove_deprecated_features October 8, 2024 18:27
@EmilianoSanchez EmilianoSanchez changed the title [Breaking change] Fix client ready() method when using async/await syntax [Breaking change] Fix client ready() method when using async/await syntax [ON HOLD] Oct 8, 2024
Base automatically changed from breaking_changes_remove_deprecated_features to breaking_changes_update_supported_runtimes October 18, 2024 16:32
Base automatically changed from breaking_changes_update_supported_runtimes to breaking_changes October 18, 2024 16:32
Base automatically changed from breaking_changes to breaking_changes_baseline October 18, 2024 16:36
@EmilianoSanchez EmilianoSanchez marked this pull request as draft October 18, 2024 16:43
Base automatically changed from breaking_changes_baseline to SDKS-8407_baseline November 1, 2024 20:46
Base automatically changed from SDKS-8407_baseline to development November 2, 2024 00:30
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.

1 participant