clay icon indicating copy to clipboard operation
clay copied to clipboard

Proto-first minimal server platform for gRPС+REST+Swagger APIs

Results 13 clay issues
Sort by recently updated
recently updated
newest added

ref #97, preparation for v3 Currently, `genhandler` is closely tied up to protobuf & grpc-gateway structures. Instead of [using](https://github.com/utrack/clay/blob/master/cmd/protoc-gen-goclay/genhandler/template.go#L32) [external](https://github.com/utrack/clay/blob/master/cmd/protoc-gen-goclay/genhandler/maptypestogo.go#L12) [abstractions](https://github.com/utrack/clay/blob/master/cmd/protoc-gen-goclay/genhandler/template.go#L148) and calling functions from the template, we should build...

https://stackoverflow.com/questions/34716238/golang-protobuf-remove-omitempty-tag-from-generated-json-tags The zero vaule of field be omited, I remove omitempty flag in struct, but it do not work in reponse

Since grpc-ecosystem/grpc-gateway#1127 it's possible to define an Error message via registering `.grpc.gateway.runtime.Error` and `.grpc.gateway.runtime.StreamError`. Right now, these definitions are explicitly disabled in clay via `SetDisableDefaultErrors(true)`, but it would be great...

It will be great if I can paste some flag to generator which pass EmitDefaults value in default marshaler. This option is well discussed in that thread: [https://github.com/grpc-ecosystem/grpc-gateway/issues/233](https://github.com/grpc-ecosystem/grpc-gateway/issues/233) I suppose...

Really nifty project. Thanks for open sourcing! This looks like a great resource for the community. I was just looking through the code and it seems I have done a...

docs

Re #72 FieldMask is unsupported right now, generated code should hook into grpc-gateway FieldMask factories. docs for the feature: https://grpc-ecosystem.github.io/grpc-gateway/docs/patch.html

Create new httpruntime.Marshaler that supports multipart messages and `octet-stream`.

feature
runtime

For example an RPC like this ``` service MapService { rpc Search(SearchRequest) returns (SearchResponse) { option (google.api.http) = { get: "/v1/search" }; } } message SearchRequest{ repeated Coordinate polygon =...

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.53.0 to 1.56.3. Release notes Sourced from google.golang.org/grpc's releases. Release 1.56.3 Security server: prohibit more than MaxConcurrentStreams handlers from running at once (CVE-2023-44487) In addition to this...

dependencies

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.53.0 to 1.56.3. Release notes Sourced from google.golang.org/grpc's releases. Release 1.56.3 Security server: prohibit more than MaxConcurrentStreams handlers from running at once (CVE-2023-44487) In addition to this...

dependencies