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

Support customizing prop wire name #4591

Merged

Conversation

jorgerangel-msft
Copy link
Contributor

@jorgerangel-msft jorgerangel-msft commented Oct 2, 2024

This PR adds support for customizing a model property's serialization name via the CodeGenSerialization attribute.

supports: #4264

@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 Oct 2, 2024
@azure-sdk
Copy link
Collaborator

azure-sdk commented Oct 2, 2024

API change check

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

Microsoft.Generator.CSharp
Microsoft.Generator.CSharp.Customization

@jorgerangel-msft jorgerangel-msft marked this pull request as ready for review October 2, 2024 21:07
@JoshLove-msft JoshLove-msft added this pull request to the merge queue Oct 4, 2024
Merged via the queue into microsoft:main with commit b2dc525 Oct 4, 2024
21 checks passed
@jorgerangel-msft jorgerangel-msft deleted the custom-serialized-name branch October 4, 2024 03:33
github-merge-queue bot pushed a commit that referenced this pull request Oct 7, 2024
Adds a missing setter to the property which was overlooked as part of
#4591.
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.

3 participants