Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace "*Decoded" Part methods with "*Bytes" #7436

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Conversation

rossabaker
Copy link
Member

nameDecoded and filenameDecoded have no error channel (aside from Option's Unit). Instead of providing a function and an overly constrained error type, we just expose the name and filename as a Chunk of bytes and leave error handling to the caller.

The nullary and Charset based methods handle their own errors by using replacement characters and are unaffected.

@rossabaker
Copy link
Member Author

I want to squeeze this in before 0.23.27, before we make a new mistake in the binary interface.

@mergify mergify bot added series/0.23 PRs targeting 0.23.x module:core labels Apr 24, 2024
@rossabaker rossabaker merged commit 88296ab into series/0.23 Apr 24, 2024
34 checks passed
@rossabaker rossabaker deleted the part-bytes branch April 24, 2024 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:core series/0.23 PRs targeting 0.23.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants