-
Notifications
You must be signed in to change notification settings - Fork 180
Upgrade to ZIO 2.0.0-RC6 #245
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
Changes from 2 commits
52d526e
63fd5ad
6878ba7
6e4600f
b3bfa90
aef2ca4
3f99e48
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,7 @@ object JsonCodec extends Codec { | |
| ) | ||
|
|
||
| override def decoder[A](schema: Schema[A]): ZPipeline[Any, String, Byte, A] = | ||
| ZPipeline.utfDecode >>> ZPipeline.mapZIO( | ||
| ZPipeline.fromChannel(ZPipeline.utfDecode.channel.mapError(_.toString)) >>> ZPipeline.mapZIO( | ||
|
||
| (s: String) => ZIO.fromEither(Decoder.decode(schema, s)) | ||
| ) | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As an aside, the previous release version for zio-optics probably got messed up, it was
2.0.0-RC4.