Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPC callback lacks type_url #1010

Open
quanterion opened this issue Apr 7, 2018 · 1 comment
Open

RPC callback lacks type_url #1010

quanterion opened this issue Apr 7, 2018 · 1 comment

Comments

@quanterion
Copy link

quanterion commented Apr 7, 2018

In RPCImpl callback I can access requestData. That is UInt8Array.
I want to write the request message to Any field of generic Request object

message RpcRequest {
	google.protobuf.Any data = 2;
	int32 resultId = 3;
}

To assign data field (typed as Any) I need type_url since Any declared this way:

    ```
   interface IAny {
        /** Any type_url */
        type_url?: (string|null);

        /** Any value */
        value?: (Uint8Array|null);
    }

Can you add type_url to RPCImpl callback?
@quanterion
Copy link
Author

After searching I think #857 would partially problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant