I want to make a Ruby client. In my service_pb.rb file I have:
```
add_message 'request' do
...
optional :test, :message, 12, 'google.protobuf.Struct'
end```
Now I am trying to pass the request params in my client.rb:
```
params = {xyz: "abc", test: { bar: "296" }}
stub = Message::Stub.new('localhost:9999', :this_channel_is_insecure)
msg = Request.new(params)
```
while running this I am getting: ArgumentError: Unknown field name 'bar' in
initialization map entry.
I need to pass a Hash object in request params.
--
You received this message because you are subscribed to the Google Groups
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/grpc-io/8f16c69a-e6aa-41b0-a396-9cead3ec87aa%40googlegroups.com.