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

Remove serialize into String method #125

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Remove serialize into String method #125

wants to merge 2 commits into from

Conversation

ptoffy
Copy link
Member

@ptoffy ptoffy commented Feb 11, 2025

This removes the MultipartSerializer.serialize(parts:) -> String method in favour of keeping the generic bytes one. We're not accepting String as input so we don't necessarily need to return the serialised thing as Strings either. This also adds a parameter to be able to specify the generic body type we're serialising into

Addresses #113

@ptoffy ptoffy requested review from 0xTim and gwynne as code owners February 11, 2025 15:03
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