From d90e632199ea38ef6f4ec733922fd5bbacd7ea4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20August=C3=BDn?= Date: Thu, 20 Sep 2018 15:00:54 +0200 Subject: [PATCH] preservingProtoFieldNames not used --- .../scala/com/avast/grpc/jsonbridge/GrpcJsonBridgeBase.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/scala/com/avast/grpc/jsonbridge/GrpcJsonBridgeBase.scala b/core/src/main/scala/com/avast/grpc/jsonbridge/GrpcJsonBridgeBase.scala index 43c5e70b..ac32efdc 100644 --- a/core/src/main/scala/com/avast/grpc/jsonbridge/GrpcJsonBridgeBase.scala +++ b/core/src/main/scala/com/avast/grpc/jsonbridge/GrpcJsonBridgeBase.scala @@ -22,7 +22,7 @@ abstract class GrpcJsonBridgeBase[F[_], Stub <: io.grpc.stub.AbstractStub[Stub]] protected def newFutureStub: Stub protected val parser: JsonFormat.Parser = JsonFormat.parser() protected val printer: JsonFormat.Printer = { - JsonFormat.printer().includingDefaultValueFields().omittingInsignificantWhitespace().preservingProtoFieldNames() + JsonFormat.printer().includingDefaultValueFields().omittingInsignificantWhitespace() } // https://groups.google.com/forum/#!topic/grpc-io/1-KMubq1tuc