Flight Log / Azure/azure-sdk-for-net #50921
Add CreateJson overloads to BinaryContent for simplified JSON serialization — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in Azure/azure-sdk-for-net on Jun 26, 2025; merged after rework in 4.7 d: +400 −101, 5 files, 21 reviews.
- Lines
- +400 −101
- Files
- 5
- Commits
- 11
- Reviews
- 21 (5 ✕)
- To merge
- 4.7 d
- Task
- feat
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot adds CreateJson overloads to BinaryContent in Azure SDK for .NET, simplifying creation of binary content from JSON objects. Across five files, 400 additions and 101 deletions over 11 commits. The review drew 21 reviews and five change requests. A reviewer reported AOT trim warnings. It merged after rework, 113.15 hours after opening.
“The CI fails because the new PAIs are not AOT compliant: Found 2 additional warnings that were not expected: /_/sdk/core/System.ClientModel/src/Message/BinaryContent.cs(91): Trim analysis warning IL2026: System.ClientModel.BinaryContent.CreateJson<T>(T,JsonSerializerOptions):”
— from the review (source)
From the pull request description
## Summary This PR adds two new `CreateJson` overloads to `BinaryContent` that simplify the common pattern of creating binary content from JSON-serializable objects. ## Problem Currently, creating `BinaryContent` from a JSON object requires a two-step process: ```csharp BinaryContent content = B…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- Jun 26, 2025changes requestedKrzysztofCwalina↗
- Jun 27, 2025changes requestedKrzysztofCwalina↗
- Jun 27, 2025changes requestedKrzysztofCwalina↗
- Jun 27, 2025changes requestedKrzysztofCwalina↗
- Jun 30, 2025changes requestedKrzysztofCwalina↗
Read next
Cite this flight: AgentRiders Flight Log, Azure/azure-sdk-for-net#50921, record updated Nov 3, 2026, https://agentriders.com/logs/Azure/azure-sdk-for-net/50921/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.