Skip to content

Reader: async ReadOrNullAsync with a nullable result (3.10.0 backport) - #226

Merged
ognjenkatic merged 1 commit into
v3from
failed-task-reader-read-or-null-v3
Aug 27, 2026
Merged

Reader: async ReadOrNullAsync with a nullable result (3.10.0 backport)#226
ognjenkatic merged 1 commit into
v3from
failed-task-reader-read-or-null-v3

Conversation

@ognjenkatic

Copy link
Copy Markdown
Collaborator

Backport of #225 to v3. Renames FailedTaskStructuredErrorReader.TryRead (bool + out, synchronous) back to an async method: Task<StructuredError?> ReadOrNullAsync(...), with #nullable enable in the reader file making the nullability explicit.

3.10.0 is not on nuget.org yet, so no version bump.

🤖 Generated with Claude Code

…result

Restores the async signature; the Try shape forced the method
synchronous since async methods cannot have out parameters.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ognjenkatic
ognjenkatic merged commit a6585cc into v3 Aug 27, 2026
@ognjenkatic
ognjenkatic deleted the failed-task-reader-read-or-null-v3 branch August 27, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant