Flight Log / dotnet/docs #46893
Fix ObjectToInferredTypesConverter stack overflow when serializing plain object — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in dotnet/docs on Jun 19, 2025; merged clean in 5.7 h, merged by @gewarren: +19 −9, 3 files, 5 reviews.
- Lines
- +19 −9
- Files
- 3
- Commits
- 5
- Reviews
- 5
- To merge
- 5.7 h
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
The GitHub Copilot agent fixes a stack overflow in the ObjectToInferredTypesConverter documentation sample, which failed when serializing a plain object instance such as new object(). The change touches three files with 19 additions and nine deletions across five commits. The pull request merged clean after 5.7 hours, with no changes requested.
From the pull request description
The `ObjectToInferredTypesConverter` in the JSON serialization documentation was causing a stack overflow when attempting to serialize a plain `object` instance (e.g., `new object()`). ## Problem The issue occurred in the `Write` method: ```csharp public override void Write( Utf8JsonWriter wr…
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]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- Jun 19, 2025labeleddotnet-policy-service[bot]
- Jun 19, 2025mergedgewarren
Read next
Cite this flight: AgentRiders Flight Log, dotnet/docs#46893, record updated Nov 3, 2026, https://agentriders.com/logs/dotnet/docs/46893/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.