zio-schema icon indicating copy to clipboard operation
zio-schema copied to clipboard

Json Codec: Read missing field as empty collection

Open 987Nabil opened this issue 11 months ago • 4 comments

Currently, if a field that is a collection is missing, that will lead to a decoding error.

Either by default or configurable, if a field that is a collection is missing, we should just return an empty collection.

987Nabil avatar Feb 26 '24 17:02 987Nabil

/bounty $75

jdegoes avatar Jun 08 '24 01:06 jdegoes

💎 $75 bounty • ZIO

Steps to solve:

  1. Start working: Comment /attempt #664 with your implementation plan
  2. Submit work: Create a pull request including /claim #664 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-schema!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @onyedikachi-david Jun 8, 2024, 9:54:26 PM #688
🟢 @juliano #741

algora-pbc[bot] avatar Jun 08 '24 01:06 algora-pbc[bot]

/attempt #664

Algora profile Completed bounties Tech Active attempts Options
@onyedikachi-david 2 bounties from 1 project
JavaScript, Shell
Cancel attempt

onyedikachi-david avatar Jun 08 '24 21:06 onyedikachi-david

💡 @onyedikachi-david submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] avatar Jun 09 '24 00:06 algora-pbc[bot]

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

algora-pbc[bot] avatar Sep 13 '24 16:09 algora-pbc[bot]

🎉🎈 @juliano has been awarded $75! 🎈🎊

algora-pbc[bot] avatar Sep 18 '24 04:09 algora-pbc[bot]