zio / zio-http

A next-generation Scala framework for building scalable, correct, and efficient HTTP clients and servers
https://zio.dev/zio-http
Apache License 2.0
800 stars 403 forks source link

It would be great if one could specify more than 8 error types using the outErrors method of Endpoint #3130

Closed countfloyd closed 1 month ago

countfloyd commented 2 months ago

Currently, the Endpoint.outErrors method can only accept up to 8 error types. Would be great to be able to add more. Right now, I have 10. Is there another way to do this without generating a huge intersection type for errors?

jdegoes commented 2 months ago

/bounty $75 to increase arity to 16.

algora-pbc[bot] commented 2 months ago

💎 $75 bounty â€ĸ ZIO

Steps to solve:

  1. Start working: Comment /attempt #3130 with your implementation plan
  2. Submit work: Create a pull request including /claim #3130 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to zio/zio-http!

Add a bounty â€ĸ Share on socials

Attempt Started (GMT+0) Solution
🟡 @varshith257 Sep 18, 2024, 2:07:59 PM WIP
đŸŸĸ @987Nabil #3148
varshith257 commented 2 months ago

/attempt #3130

Algora profile Completed bounties Tech Active attempts Options
@varshith257    4 ZIO bounties
+ 9 bounties from 6 projects
TypeScript, Go
īšŸ3141
Cancel attempt
algora-pbc[bot] commented 2 months ago

💡 @987Nabil submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] commented 1 month ago

@varshith257: Reminder that in 7 days the bounty will become up for grabs, so please submit a pull request before then 🙏

algora-pbc[bot] commented 1 month ago

🎉🎈 @987Nabil has been awarded $75! 🎈🎊