-
Notifications
You must be signed in to change notification settings - Fork 370
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
chore(fcm): Deprecate sendToTopic
and sendToCondition
#2683
Conversation
8d4fa18
to
c26b5d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks
sendToTopic
and sendToCondition
Sorry for commenting on closed PR, but deleting test of the deprecated API-s is not lucky, because the funtionality must work until the end of the life of the API(next major release). |
The SDK unfortunately do not have control over the BE REST endpoints. Please refer to the release notes and use the |
Yes, the SDK does not control the REST API endpoint. The SDK only warns to the users about the deprecation. This PR not just add deprecation info, but it removes tests too. If this SDK follows the semantic versioning then in the current major version (12) should not remove the test because it ensure every feature of the version 12 is working. Maybe I am overthinking, but I always do the following procedure to decrease the chance of the unwanted breaking changes.
|
You are right! I am not disagreeing with you on this. The steps you have mentioned are what we have done in the past and what we will always try to follow. Unfortunately, in this specific case we are unable to get a major release out before the BE API starts limiting the usage of the deprecated APIs. As a result, the existing integration tests are failing in our SDK CIs blocking the release pipeline. I understand this is not the best approach and we try our best to present the alternatives such as the updated |
sendToTopic
andsendToCondition
as deprecated.