Skip to content

Commit

Permalink
Update GRPC.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
varshith257 authored Aug 31, 2024
1 parent 225301f commit 86b9e39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import zio.http.codec.{BinaryCodecWithSchema, HttpContentCodec}
object GRPC {

implicit def fromSchema[A](implicit schema: Schema[A]): HttpContentCodec[A] =
HttpContentCodec.Default(
HttpContentCodec.default(
ListMap(
MediaType.parseCustomMediaType("application/grpc").get ->
BinaryCodecWithSchema(ProtobufCodec.protobufCodec[A], schema),
Expand Down

0 comments on commit 86b9e39

Please sign in to comment.