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

Clean zio.http.codec.internal.AtomizedCodecs code #3212

Merged
merged 6 commits into from
Dec 15, 2024
Merged

Conversation

guizmaii
Copy link
Member

No description provided.

@guizmaii guizmaii self-assigned this Nov 19, 2024
@987Nabil
Copy link
Contributor

fmt

@guizmaii
Copy link
Member Author

@987Nabil Done :)

@guizmaii guizmaii force-pushed the clean/AtomizedCodecs branch from 9d9d4cb to 4baa211 Compare November 26, 2024 07:39
@@ -80,7 +88,7 @@ private[http] object AtomizedCodecs {
private def flattenedAtoms[R, A](in: HttpCodec[R, A]): Chunk[Atom[_, _]] =
in match {
case Combine(left, right, _) => flattenedAtoms(left) ++ flattenedAtoms(right)
case atom: Atom[_, _] => Chunk(atom)
case atom: Atom[_, _] => Chunk.single(atom)
Copy link
Contributor

Choose a reason for hiding this comment

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

The chunk constructor does this anyway.

@987Nabil 987Nabil merged commit 5553b33 into main Dec 15, 2024
67 checks passed
@987Nabil 987Nabil deleted the clean/AtomizedCodecs branch December 15, 2024 06:19
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