-
Notifications
You must be signed in to change notification settings - Fork 659
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
Move Decoupling to GA #6857
Move Decoupling to GA #6857
Conversation
d1fb47a
to
8dca888
Compare
68a25c0
to
f224cac
Compare
@@ -1,5 +1,9 @@ | |||
package com.stripe.android.paymentsheet | |||
|
|||
@Deprecated( | |||
message = "This feature is no longer experimental. You can remove the annotation.", | |||
level = DeprecationLevel.HIDDEN, |
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.
Should this be a DeprecationLevel.WARNING
instead? I initially wanted to use HIDDEN
to not expose it to new users, but not sure if we want to force removal for existing beta users.
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.
Should we just remove it? Feels acceptable to me.
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.
I like the idea of us providing them with some information instead of just removing it, possibly adding confusion.
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.
I was thinking the other side of confusion :O Maybe a user sees the annotation is deprecated, and thinks we deprecated the feature!
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.
That’s why there’s a message 🙃
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.
What's the user experience if it's removed? Will they see a mysterious compiler error?
@@ -1,5 +1,9 @@ | |||
package com.stripe.android.paymentsheet | |||
|
|||
@Deprecated( | |||
message = "This feature is no longer experimental. You can remove the annotation.", | |||
level = DeprecationLevel.HIDDEN, |
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.
Should we just remove it? Feels acceptable to me.
Summary
This pull request moves the decoupling functionality to GA by removing the
ExperimentalPaymentSheetDecouplingApi
annotation.The annotation class stays around but is marked as deprecated, helping developers understand that the API is now stable.
Motivation
Testing
Screenshots
Changelog