Skip to content

jsonTokensDecoder returns a Stream #206

@armanbilge

Description

@armanbilge

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]] =

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions