-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[CommunicationIdentifier] Added support for rawId ⟷ CommunicationIdentifier conversion #28997
Merged
petrsvihlik
merged 15 commits into
main
from
communication-identifier-raw-id-translation
Jun 30, 2022
Merged
[CommunicationIdentifier] Added support for rawId ⟷ CommunicationIdentifier conversion #28997
petrsvihlik
merged 15 commits into
main
from
communication-identifier-raw-id-translation
Jun 30, 2022
Conversation
This file contains 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
ghost
added
the
Communication
label
May 20, 2022
API change check APIView has identified API level changes in this PR and created following API reviews. |
Work in progress |
2 tasks
iaulakh
requested review from
JianpingChen,
ankitarorabit,
minnieliu and
a team
as code owners
May 22, 2022 22:10
iaulakh
requested review from
petrsvihlik,
DominikMe and
prprabhu-ms
and removed request for
a team,
JianpingChen,
minnieliu and
ankitarorabit
May 22, 2022 22:11
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
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
CommunicationIdentifier
design 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