protobuf.js
protobuf.js copied to clipboard
Protocol Buffers for JavaScript & TypeScript.
Hi all, Wondering if someone can help ? I must be missing something basic here - where do we access the `Method` or `rpc.ServiceMethod` for a given endpoint in the...
I am writing a browser extension script to parse the data returned the server. In my application scenario, for those returned masses, I only need to use `decode` and `toObject`,...
protobuf.js version: How can I put any message in the "child" field just similar to google.protobuf.any ? ```js import { Message, Type, Field, OneOf, } from 'protobufjs/light'; // respectively "./node_modules/protobufjs/light.js"...
Hello, is it possible to support generating js/ts files per proto-file? This would reflect the workflow of the protoc more. It also makes it much simpler to integrate with other...
protobuf.js version: 7.4.0 Reproduction example: Proto message: ```proto syntax = "proto3"; message Test { optional string field = 1; } ``` Code (node.js): ```js const protobufjs = require('protobufjs'); const root...
Currently there is are error when attempting to add the `google/api/*.proto` files to common. This is becuase it is assumes everything add to common that is not of the form...