-
Notifications
You must be signed in to change notification settings - Fork 2
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
DEVEXP-464: Update Verification API #31
Conversation
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.
Outside of implementation details, there is a lot of breaking changes but not highlighted by deprecation nor major version change.
The 'main' branch target do not fit with our branching strategy.
Let' talk about these points
@@ -4,6 +4,42 @@ | |||
from sinch.domains.verification.models import VerificationIdentity | |||
|
|||
|
|||
class ReporPhoneCallVerificationDataTransfromationMixin: |
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.
Check for typos:
- ReporPhoneCallVerificationDataTransfromationMixin
- ReporFlashCallVerificationDataTransfromationMixin
- ReporSMSVerificationDataTransfromationMixin
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.
indeed; copy/paste typos
fixed
@@ -156,16 +211,11 @@ def get_by_reference(self, reference) -> GetVerificationStatusByReferenceRespons | |||
) | |||
) | |||
|
|||
def get_by_id(self, id) -> GetVerificationStatusByIdResponse: |
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'm not sure to understand why this endpoint has been removed (moreover without any deprecation warning as mentioned by @JPPortier), it still exists in the specification: https://gitlab.com/sinch/sinch-projects/enterprise-and-messaging/documentation/developer-experience/oas-documentation/-/blob/master/services/verification-oas/verification.yaml?ref_type=heads#L105
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.
Oops! I've misunderstood the spec file. The endpoint is back.
Indeed. I'm going to bump the major version on the next release. |
Closing due to #36 |
https://tickets.sinch.com/browse/DEVEXP-464