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

Add transformation and composition operators to JsonCodec #48

Open
jdegoes opened this issue Sep 24, 2020 · 5 comments
Open

Add transformation and composition operators to JsonCodec #48

jdegoes opened this issue Sep 24, 2020 · 5 comments
Labels
good first issue Good for newcomers

Comments

@jdegoes
Copy link
Member

jdegoes commented Sep 24, 2020

Just as JsonEncoder and JsonDecoder support a wide range of operators, which transform and combine codecs, so also can JsonCodec support operators, including:

  • orElse
  • orElseEither
  • zip
  • zipLeft
  • zipRight

These will have type signatures similar to the existing type signatures.

In addition, an xmapOrFail could be added, probably here and to the parent types.

@afsalthaj
Copy link

@jdegoes can I take this up?

@fsvehla fsvehla added the good first issue Good for newcomers label Sep 24, 2020
@fsvehla
Copy link
Contributor

fsvehla commented Sep 24, 2020

@afsalthaj of course

@jdegoes
Copy link
Member Author

jdegoes commented Dec 15, 2021

No one is working on this, I don't think.

@yisraelU
Copy link

I am going to attempt this

@yisraelU
Copy link

yisraelU commented Jan 31, 2022

@fsvehla
The specific methods mentioned seem to be taken care of in zio2 , is there anything left to be done for this issue?
edit: I see xmapOrFail is not done yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants