[CommunicationIdentifier] Added support for rawId ⟷ CommunicationIdentifier conversion#28997
Merged
petrsvihlik merged 15 commits intomainfrom Jun 30, 2022
Merged
Conversation
Collaborator
|
API change check APIView has identified API level changes in this PR and created following API reviews. |
Member
Author
|
Work in progress |
2 tasks
Contributor
|
I'm off. @AikoBB can you pls take a look? :) |
AikoBB
approved these changes
May 24, 2022
petrsvihlik
approved these changes
Jun 16, 2022
...ure-communication-common/src/main/java/com/azure/communication/common/UnknownIdentifier.java
Show resolved
Hide resolved
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The
CommunicationIdentifierdesign provides a good abstraction of Azure Communication Services internal id format with better type safety, auto-complete and hides internal knowledge.However, it doesn't lend well to storing identifiers in a database or using them as keys because there is no clear canonical way how to encode them. This PR introduces translation functions that lets developers use the underlying raw ID for these purposes.
Details Internal wiki
This PR closely follows the C# PR.
No REST changes.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines