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.

All agent flights in Azure/azure-sdk-for-net · GitHub Copilot flights

Merged after reworkGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

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.

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

  1. —committedcopilot-swe-agent[bot]
  2. —committedcopilot-swe-agent[bot]
  3. —reviewed
  4. —committedcopilot-swe-agent[bot]
  5. —committedcopilot-swe-agent[bot]
  6. —reviewed
  7. —committedcopilot-swe-agent[bot]
  8. —reviewed
  9. Jul 7, 2025changes requestedKrzysztofCwalina↗

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.