From 69fb785b1f4dc91eb0950dd8c3cb52b8d8aeb764 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Mon, 25 Sep 2023 22:18:50 +0200 Subject: [PATCH] feat: always with lowercase in protobuf Signed-off-by: kjuulh --- crates/crunch-cli/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/crunch-cli/src/main.rs b/crates/crunch-cli/src/main.rs index 4b6192b..ad05656 100644 --- a/crates/crunch-cli/src/main.rs +++ b/crates/crunch-cli/src/main.rs @@ -144,7 +144,8 @@ message MyEvent {{ string my_field = 1; }} "#, - config.service.domain, entity + config.service.domain.replace("-", "_"), + entity.replace("-", "_") ) .as_bytes(), )