From bec6455d17f76f770712bf6d5d5b7b2d76f5411c Mon Sep 17 00:00:00 2001
From: Daniel Lyubomirov <daniel.lyubomirov@vereign.com>
Date: Tue, 2 Jun 2020 11:34:09 +0300
Subject: [PATCH] [18] Update protobuf definitions submodule

---
 cpp/proto                       | 2 +-
 cpp/src/CMakeLists.txt          | 2 +-
 cpp/tests/protobuf/json_test.cc | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cpp/proto b/cpp/proto
index 37be183..e861100 160000
--- a/cpp/proto
+++ b/cpp/proto
@@ -1 +1 @@
-Subproject commit 37be183be5f248ada04ba58ca72784e0fe1d63d3
+Subproject commit e861100984116aacf6d84cb8a09dc0ef81041509
diff --git a/cpp/src/CMakeLists.txt b/cpp/src/CMakeLists.txt
index 750195c..c986d16 100644
--- a/cpp/src/CMakeLists.txt
+++ b/cpp/src/CMakeLists.txt
@@ -87,6 +87,6 @@ endif()
 # Generates the gRPC and Vereign services source code.
 add_custom_target(
   vcl-gen
-  COMMAND vcl-gen generate --templates-path=templates --output-path src
+  COMMAND vcl-gen generate -v --templates-path=templates --output-path src
   WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
 )
diff --git a/cpp/tests/protobuf/json_test.cc b/cpp/tests/protobuf/json_test.cc
index 45758d5..9fbc998 100644
--- a/cpp/tests/protobuf/json_test.cc
+++ b/cpp/tests/protobuf/json_test.cc
@@ -328,7 +328,7 @@ TEST_CASE("empty messages with OmitEmpty", "[protobuf]") {
 
   google::protobuf::util::JsonPrintOptions options;
   options.preserve_proto_field_names = true;
-  options.always_print_primitive_fields = true;
+  options.always_print_primitive_fields = false;
   std::string json;
   auto status = google::protobuf::util::MessageToJsonString(msg, &json, options);
 
-- 
GitLab