From e8e49de909fba6791a26e73a59d5b7ab54284499 Mon Sep 17 00:00:00 2001 From: Michael Beemer Date: Thu, 4 Jan 2024 10:39:05 -0500 Subject: [PATCH] fix: add custom marshalling options (#1117) ## This PR - add custom marshalling options ### Related Issues Fixes #1116 ### Notes I manually tested to confirm the fix is working. However, it's currently not automatically tested because the issue only affects HTTP-based requests, and the E2E tests use gRPC. I'll create a follow-up task to expand the E2E test suite to include HTTP tests. Signed-off-by: Michael Beemer --- core/pkg/service/flag-evaluation/connect_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/pkg/service/flag-evaluation/connect_service.go b/core/pkg/service/flag-evaluation/connect_service.go index d961f8043..e932f52ad 100644 --- a/core/pkg/service/flag-evaluation/connect_service.go +++ b/core/pkg/service/flag-evaluation/connect_service.go @@ -168,7 +168,7 @@ func (s *ConnectService) setupServer(svcConf service.Configuration) (net.Listene s.metrics, ) - _, newHandler := evaluationV1.NewServiceHandler(newFes, svcConf.Options...) + _, newHandler := evaluationV1.NewServiceHandler(newFes, append(svcConf.Options, marshalOpts)...) bs := bufSwitchHandler{ old: oldHandler,