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
214 stars 14 forks source link

Support JSON name query parameters #133

Closed emcfarlane closed 2 months ago

emcfarlane commented 2 months ago

Allows for query parameters to be specified by the fields JSON name. This is supported by other implementations. Only enable JSON names for query parameters and not within rule descriptors. By default encoding to REST streams will now set query params as the JSON representation. This is more consistent with the JSON body representation of the fields.

Fixes #131