Skip to content

Unseal the Sync- and AsyncInput traits#1315

Merged
ia0 merged 1 commit intogoogle:mainfrom
ia0:unseal
Mar 3, 2026
Merged

Unseal the Sync- and AsyncInput traits#1315
ia0 merged 1 commit intogoogle:mainfrom
ia0:unseal

Conversation

@ia0
Copy link
Member

@ia0 ia0 commented Mar 3, 2026

This fixes #1313.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request unseals the SyncInput and AsyncInput traits to allow users to implement them for custom file-like objects. This is a good improvement for the library's flexibility. The overall approach of merging the internal ...Api traits into the public-facing traits is correct. However, I've found a critical issue in the implementation that will cause a compilation error, for which I've provided a fix.

@ia0 ia0 requested a review from reyammer March 3, 2026 14:25
@ia0 ia0 merged commit 7056c1f into google:main Mar 3, 2026
170 of 172 checks passed
@ia0 ia0 deleted the unseal branch March 3, 2026 14:41
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.

2 participants