Skip to content

Commit 2e55901

Browse files
committed
Make codec public in RecursiveMessage
1 parent 3c3e5c6 commit 2e55901

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/scala/proteus/ProtobufCodec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ object ProtobufCodec {
482482
* Represents a recursive message type.
483483
*/
484484
final case class RecursiveMessage[A](thunk: () => Message[A]) extends ProtobufCodec[A] {
485-
private[proteus] lazy val codec = thunk()
485+
lazy val codec = thunk()
486486

487487
private[proteus] def toProtoWriter(a: A, id: Int, registers: Registers, offset: RegisterOffset): ProtobufWriter =
488488
codec.toProtoWriter(a, id, registers, offset)

0 commit comments

Comments
 (0)