I learned the hard way that (implicit?) EntityDecoders should not return Streams. This creates a footgun for users. Further reading in http4s/http4s#6694 (comment).
|
implicit def jsonTokensDecoder[F[_]: Concurrent]: EntityDecoder[F, Stream[F, Token]] = |
I learned the hard way that (implicit?)
EntityDecoders should not returnStreams. This creates a footgun for users. Further reading in http4s/http4s#6694 (comment).http4s-fs2-data/json/src/main/scala/org/http4s/fs2data/json/JsonInstances.scala
Line 33 in 56fcfd3