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

Optimize some zio.http.endpoint.Endpoint code #3213

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

Conversation

guizmaii
Copy link
Member

@guizmaii guizmaii commented Nov 19, 2024

Replace the NonEmptyChunk.formChunk(...).getOrElse(...) with chunk.nonEmptyOrElse(...)(...)
Removes an Option allocation

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

Please reopen when it builds

@987Nabil 987Nabil closed this Nov 25, 2024
@guizmaii guizmaii reopened this Nov 26, 2024
@guizmaii guizmaii force-pushed the optimise/handlers branch 2 times, most recently from a47f508 to e1f0a79 Compare November 26, 2024 07:31
@guizmaii
Copy link
Member Author

@987Nabil Should be good now :)

Replace the `NonEmptyChunk.formChunk(...).getOrElse(...)` with `chunk.nonEmptyOrElse(...)(...)`
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