protobuf.js Questions
2
I'm using the latest protobuf.js with Node.js 4.4.5.
I currently struggle to get protobuf.js to output the string definitions of enums instead of integers. I tried several suggestions, but none of...
Biretta asked 7/6, 2016 at 19:2
4
Summarize the problem
I'm learning how to use gRPC, and wanted to try to do a client-server connection. The server (in Elixir) works, though I had a few problems. But as I am mainly a back end dev...
Marketing asked 5/10, 2019 at 10:56
0
If I have a proto3 message defined as below
message Log {
string object = 1;
string key_result = 2;
string review = 3;
repeated string tag = 4;
string begin_at = 5;
string end_at = 6;
strin...
Beleaguer asked 20/4, 2021 at 9:53
2
I have a proto schema defined as below,
message User {
int64 id = 1;
bool email_subscribed = 2;
bool sms_subscribed = 3;
}
Now as per official proto3 documentation, default values are not ser...
Townes asked 2/5, 2018 at 7:42
2
I been trying to encode strings using protoc cli utility.
Noticed that output still contains plain text.
What am i doing wrong?
osboxes@osboxes:~/proto/bin$ cat ./teststring.proto
syntax = "proto2...
Sixpack asked 28/6, 2018 at 16:6
2
Using a proto file from an API created in Scala. My code is in JS, trying to test my code and getting the following error:
AssertionError [ERR_ASSERTION]: invalid return value: post[0].lastPublish...
Sangsanger asked 24/2, 2019 at 7:46
1
Solved
in my proto file, I define a service interface:
syntax = "proto3";
package mynamespace;
import "google/protobuf/empty.proto";
service MyService {
rpc isTokenValid (TokenRequest) returns (Token...
President asked 26/12, 2018 at 9:37
1
I am using the dcodeIO/protobuf.js lib (version 6.8.4) to parse protobuf messages in the browser.
I can make it work with simple proto files, as long as another proto file is not imported.
Importi...
Symonds asked 1/2, 2018 at 23:38
1
Solved
I'm using Protobuf.js to build a node package, containing our protocol and offering encode and decode functionality to Proto Messages defined in this package. I would be fine with using .proto file...
Keck asked 2/6, 2017 at 12:18
1
Solved
I would like to send an object from a WebApi controller to an Html page through an Ajax Request.
When I receive the object in JS, it's empty. But server-side the object isn't empty because when I ...
Wafd asked 23/3, 2016 at 9:9
1
© 2022 - 2024 — McMap. All rights reserved.