Skip to content

Conversation

@JonathanCrd
Copy link
Member

Fixes #9142

This PR replaces ToObjectFromJson extension method calls with ModelReaderWriter.Read to enable AOT compilation compatibility in the generated client libraries.

@JonathanCrd JonathanCrd self-assigned this Dec 5, 2025
@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 5, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

No changes needing a change description found.

@JoshLove-msft
Copy link
Contributor

Looks like the CI is failing due to some testdata files needing to be updated

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.

[http-client-csharp] Generated methods trigger AOT warnings

3 participants