gruf
gruf copied to clipboard
gRPC Ruby Framework
## What? Why? ## How was it tested?
## What? Why? Hi. I added integration with Rails(since 6.1) [based](https://github.com/anycable/anycable-rails/blob/master/lib/anycable/rails/railtie.rb#L63) on AnyCable. Now there is no need to call `bundle exec gruf`. I had to change the structure of...
Based on rails docs: https://guides.rubyonrails.org/threading_and_code_execution.html#executor > The Rails Executor separates application code from framework code: any time the framework invokes code you've written in your application, it will be wrapped...
## What? Why? Adds .rbs files for type checking support for Ruby 3+. Note we're not implementing Steep or other static checkers yet as libraries Gruf depends on are not...
## What? Why? I would like to define a sample rate for the request logger on a per RPC basis. Currently I have a service which has high volume of...
Is there a way to also reload other folders than `app/rpc` when using Rails? I can see that the Rails zeitwerk reloading is enabled for the known Rails folders (like...
## Please describe the issue Hey guys @splittingred @leonid-shevtsov, check this out: Create two RPCs 1. Client streaming 2. Anything else (I tried server streaming and unary) Place a log...
## What? Why? Fixes #205 ## How was it tested? Existing specs
## Please describe the issue When running `run_rpc` method from gruf-rspec under Rails 7.1 the deprecation warning "DEPRECATION WARNING: Calling `ActiveRecord::Base.clear_active_connections! is deprecated. Please call the method directly on the...
While using `Gruf::Interceptors::Instrumentation::RequestLogging::Interceptor`, I noticed that in the event of unhandled errors raised in my controller (errors that are not of type `GRPC::BadStatus` or raised via `fail!`), I was not...