Skip to content

Conversation

@wclr
Copy link

@wclr wclr commented Dec 29, 2024

This fixes #66

I updated decode logic of sum codecs, instead of Either JsonDecodeError rep it returns Either JsonDecodeError (Maybe rep), meaning that it was not the case, decode error is returned only by the codec that finds the appropriate tag value in the object.

I belive @m-bock may review this.

@wclr wclr mentioned this pull request Dec 30, 2024
@m-bock m-bock mentioned this pull request Jan 23, 2025
@m-bock
Copy link
Contributor

m-bock commented Jan 23, 2025

@wclr
I looked into your PR! It was very helpful to get a better understanding of the problem. Thanks for the effort!
I ended up to go a slightly different way: #69

@m-bock
Copy link
Contributor

m-bock commented Oct 17, 2025

@garyb we can close this PR since the alternative implementation #69 was merged

@garyb garyb closed this Oct 17, 2025
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.

New sum codec does not report accurate errors

3 participants