Skip to content

Commit

Permalink
fix: add custom marshalling options (#1117)
Browse files Browse the repository at this point in the history
## 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 <beeme1mr@users.noreply.github.com>
  • Loading branch information
beeme1mr committed Jan 4, 2024
1 parent d179a1b commit e8e49de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/pkg/service/flag-evaluation/connect_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e8e49de

Please sign in to comment.