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 <beeme1mr@users.noreply.github.com>
This commit is contained in:
Michael Beemer 2024-01-04 10:39:05 -05:00 committed by GitHub
parent d179a1b3e8
commit e8e49de909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,