-
Notifications
You must be signed in to change notification settings - Fork 316
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
Board Review: Azure Communication Services [Common] (.NET, JS, Java, Python, Android, iOS) #4473
Comments
Scheduled for 7/28 9a-11a PDT |
Should we use We already use Would be cool to be able to do something like this: ContosoUser user = GetFromDb("john@doe.com");
var chatParticipant = new ChatParticipant(identifier: user.RawId)
{
DisplayName = "UserDisplayName"
}; Instead of this: var chatParticipant = new ChatParticipant(identifier: new CommunicationUserIdentifier(id: "<Access_ID>"))
{
DisplayName = "UserDisplayName"
}; |
Recording (MS INTERNAL ONLY) |
Looks like @bterlson approved, @petrsvihlik let me know if you're still blocked. 😄 |
@xirzec for some reason the pipeline doesn't accept the approval above and requires an approval in this API view: https://apiview.dev/Assemblies/Review/26aa3f641ebb441cb5a8f19d8291b97a?diffRevisionId=5d31b068c24d48f58296cc015e1183fe&doc=False&diffOnly=False&revisionId=af44898499ea429fad73cc5cd29804ed can you please approve it too? |
I have approved it |
all languages released |
Contacts and Timeline
About the ServiceAbout the client library
Artifacts required (per language)
Please read through “API Review” section here to understand how these artifacts are generated. It is critical that these artifacts are present and are in the right format. If not, the language architects cannot review them with the SDK Team’s API review tool.
.NET
Java
Android
Python
CommunicationIdentifier
to / from a stable string format azure-sdk-for-python#24507TypeScript
iOS
About the change
Motivation
While the
CommunicationIdentifier
types for both SDK runtime models as well as REST models do a good job of4:
or8:orgid:
they don't do a good job of
Customers can serialize identifiers themselves but it's not clear how to do so in a safe manner. For example, the
MicrosoftTeamsUserIdentifier
has multiple properties such asIsAnonymous
orCloud
and it's not clear in which order these properties should get serialized into a string. ACS can introduce new properties in the future which can potentially break any serialization logic that the customer came up with.One particular scenario (submitted by the UI Library team) that this feature will unblock is mapping MRIs to AAD ObjectIds to enable calling Graph API and provide a rich experience for calling participants.
Proposed change
Introduce a canonical serialization format of identifiers that can be used for all of the above cases.
Implementation details - Design change request: RawId support for (de)serialization
Champion Scenario
The text was updated successfully, but these errors were encountered: