-
Notifications
You must be signed in to change notification settings - Fork 4
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
DeviceDetails.id (PCD2) should be nullable. #180
Comments
➤ Automation for Jira commented: The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-4038 |
Alternatively we can update the spec so that it reflects the behaviour implemented in ably/ably-cocoa#1847, where a new device ID is generated as soon as the previous ones are cleared, so that |
It's an idea. But I think it's better to eventually make nullable |
Why do you think it better?
What's the relation with the v2 protocol? |
Hmm, good question. At least it's nullable in other SDKs already.
I mean v2 release is a breaking change and release of another breaking change together would make sense I think. |
By "other SDKs" do you mean just ably-java (which is currently the only other SDK to have a
The changes introduced by version 2.0.0 of the specification, which is the version that switched to using protocol v2, do not include any breaking API changes. |
You are right, the one that was deleted is marked as deprecated. Ok, will change the specs then. |
Currently it is declared as non-nil for some reason:
which leads to the bunch of problems and inconsistencies in the SDK(s) implementations.
The text was updated successfully, but these errors were encountered: