twirp-ruby
twirp-ruby copied to clipboard
Twirp services in Ruby
I recently pulled the latest repo and followed along with the example tutorial. Modified one of the protos to test and started to run code gen when I got this...
Some HTTP clients always append charset to the content-type header e.g., `content-type: application/json; charset=utf8`. Requests made by those clients are rejected because of the content-type mismatch. Twirp only allows the...
Please consider the following .proto file: ``` package package.rpc.asks; import "package/actions/asks.proto"; service Ask { rpc GetAskSnapshot(package.actions.asks.RequestAskSnapshot) returns (package.actions.asks.AskSnapshot) { } } ``` I would expect this to generate a Ruby...
Hi. I'm not sure if the Twitch team still maintains this package, but I wanted to suggest (and potentially help) with a couple of changes to the Code Generator plugin....
I'm looking to wrap the generated service and client in a module to better support projects that use Zeitwerk (i.e. rails). This will allow the zeitwerk to work with a...
The twirp-ruby package provides great out of the box hooks (`before`,`on_success`,`on_error`,`exception_raised`) pre and post the twirp service handler invocation. For most cases, I believe this implementation contains the required functionality...
# When I generate code from two proto files ```proto // data.proto syntax = "proto3"; import "ok.proto"; service Data { rpc create(SetDataRequest) returns (ok.Response); } message SetDataRequest { string uuid...
Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf) from 3.19.2 to 3.21.7. Release notes Sourced from google-protobuf's releases. Protocol Buffers v3.20.3 Java Refactoring java full runtime to reuse sub-message builders and prepare to migrate parsing logic...
Protobuf services should end in `Service`. This is a [buf lint rule](https://github.com/bufbuild/buf-examples/blob/main/linting/bad/acme/weather/v1/weather.proto#L39), recommended via [the protobuf style guide](https://developers.google.com/protocol-buffers/docs/style#services) as linked to via [Twirp Best Practices](https://twitchtv.github.io/twirp/docs/best_practices.html)) Therefore, we only append "Service"...
Bumps google.golang.org/protobuf from 1.28.1 to 1.33.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...