Flight Log / Azure/azure-sdk-for-net #51005
Make IJsonModel.Create and IPersistableModel.Create nullable — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in Azure/azure-sdk-for-net on Jul 2, 2025; merged after rework in 5.6 d: +20,408 −3,738, 314 files, 24 reviews.
- Lines
- +20,408 −3,738
- Files
- 314
- Commits
- 15
- Reviews
- 24 (1 ✕)
- To merge
- 5.6 d
- Task
- feat
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot opened a PR in Azure/azure-sdk-for-net making the Create methods on IJsonModel and IPersistableModel return nullable types, letting implementations return null on failed deserialization. It touched 314 files over 15 commits. One change request asked for the API export script rerun and nullable compile errors fixed. It merged after rework at 134.08 hours.
“- execute ".\export-API core" under folder "\eng\scripts" to update the API files. - fix the nullable compile errors /sdk/openai/Azure.AI.OpenAI/tests/Models/FineTuningHyperparameters.cs(70,16): error CS8603: Possible null reference return.”
— from the review (source)
From the pull request description
## Summary This PR updates the `Create` method signatures in `IJsonModel<T>` and `IPersistableModel<T>` interfaces to return nullable types (`T?` instead of `T`). This change allows implementations to return `null` when deserialization fails or when the input data is invalid, providing better flexi…
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]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- Jul 7, 2025changes requestedKrzysztofCwalina↗
Read next
Cite this flight: AgentRiders Flight Log, Azure/azure-sdk-for-net#51005, record updated Nov 3, 2026, https://agentriders.com/logs/Azure/azure-sdk-for-net/51005/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.