Skip to content

Commit

Permalink
Fix Seq decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
geirolz committed Sep 4, 2024
1 parent 4aa2ce7 commit 6c97ade
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ sealed trait AmqpFieldDecoderInstances {
case other => DecodingError.expectedButGot(s"ArrayVal", other.toString).asLeft
}

implicit def seqDecoder[T: AmqpFieldDecoder]: AmqpFieldDecoder[immutable.Seq[T]] =
implicit def seqDecoder[T: AmqpFieldDecoder]: AmqpFieldDecoder[Seq[T]] =
collectionSeqDecoder[T].map(_.toSeq)

implicit def listDecoder[T: AmqpFieldDecoder]: AmqpFieldDecoder[List[T]] =
Expand Down

0 comments on commit 6c97ade

Please sign in to comment.