connectrpc / vanguard-go

Support REST, gRPC, gRPC-Web, and Connect clients with one server.
https://pkg.go.dev/connectrpc.com/vanguard
Apache License 2.0
197 stars 13 forks source link

Unexport RESTCodec #94

Closed jhump closed 10 months ago

jhump commented 10 months ago

Comments now direct users to use vanguard.JSONCodec because of the add'l operations it provides. NewTranscoder now checks that the codec registered for "json" provides the needed methods if/when REST protocol is used.