Skip to content

Use CSharpType rather than Type for serialization hooks#9166

Merged
JoshLove-msft merged 1 commit intomicrosoft:mainfrom
JoshLove-msft:csharp-type-json-serialization
Dec 9, 2025
Merged

Use CSharpType rather than Type for serialization hooks#9166
JoshLove-msft merged 1 commit intomicrosoft:mainfrom
JoshLove-msft:csharp-type-json-serialization

Conversation

@JoshLove-msft
Copy link
Contributor

For framework types that are generic where the arg may be a non-framework type, we lose the generic type arg information when using Type.

@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 Dec 9, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2025

No changes needing a change description found.

@JoshLove-msft JoshLove-msft added this pull request to the merge queue Dec 9, 2025
Merged via the queue into microsoft:main with commit ec260f5 Dec 9, 2025
22 checks passed
@JoshLove-msft JoshLove-msft deleted the csharp-type-json-serialization branch December 9, 2025 19:03
github-merge-queue bot pushed a commit that referenced this pull request Dec 10, 2025
Follow up to : #9166. This
exposes the internal CSharpType comparer, to be consumed by the azure
generator in it's serialization hooks.
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.

2 participants