Skip to content
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

change the array to IReadOnlyList since it is a public API #3418

Merged
merged 1 commit into from
May 22, 2024

Conversation

ArcturusZhang
Copy link
Member

Since the GetSerializationTypeProviders is a public API and we never except the consumer of this method to modify the returned values, we should return it in a IReadOnlyList<>

@microsoft-github-policy-service microsoft-github-policy-service bot added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label May 22, 2024
@azure-sdk
Copy link
Collaborator

azure-sdk commented May 22, 2024

API change check

APIView has identified API level changes in this PR and created following API reviews.

Microsoft.Generator.CSharp
Microsoft.Generator.CSharp.ClientModel

@m-nash m-nash added this pull request to the merge queue May 22, 2024
Merged via the queue into microsoft:main with commit ffaff36 May 22, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants