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

fix: change request response in /status endpoint #2056

Merged
merged 2 commits into from
Aug 16, 2023

Conversation

szymonrybczak
Copy link
Collaborator

Summary:

Recently in #2021 I changed the response in /status endpoint. It worked out that it was breaking change, and React Native depends internally on this response. In this PR I moved passing this information to header, and that's perfect for us because we don't create breaking change and we can make the same logic as before.

Test Plan:

Everything described in #2021 should work the same after changes in this PR.

Checklist

  • Documentation is up to date to reflect these changes.
  • Follows commit message convention described in CONTRIBUTING.md

@szymonrybczak szymonrybczak changed the title fix: change request response in status endpoint fix: change request response in /status endpoint Aug 14, 2023
@szymonrybczak
Copy link
Collaborator Author

cc. @huntie @motiz88

Copy link
Collaborator

@huntie huntie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻, thanks for actioning this quickly!

Would be great to have a unit test against this endpoint, which includes a description/comment documenting that the string response value is widely depended on and should not be modified.

@szymonrybczak
Copy link
Collaborator Author

Would be great to have a unit test against this endpoint, which includes a description/comment documenting that the string response value is widely depended on and should not be modified.

Tests added ✅

@thymikee thymikee merged commit 22cc556 into main Aug 16, 2023
@thymikee thymikee deleted the fix/change-request-response branch August 16, 2023 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants