protobuf-es
protobuf-es copied to clipboard
Protocol Buffers for ECMAScript. The only JavaScript Protobuf library that is fully-compliant with Protobuf conformance tests.
I see that there is createRegistry that works with a FileDescriptorSet. Since I'm already Generating the code, is there a way that it could be registered at load time like...
A Bazel rule for protobuf-es would be very enticing for me as I've found the bazel/typescript/grpc world to be frustrating and trying to get non-rules_proto_grpc rules to work with Bazel...
The docs say: > We implement all proto2 features, except for extensions and the text format. I don't think we can ignore extensions - what does the core js do?
The `map` field type currently uses a simple object as a representation. However, that doesn't work for `bigint` keys. Same for `boolean` keys. That's also theoretically supported and there's even...
The `matchWkt` function from protoc-gen-es is rather useful also outside of protoc-gen-es. Can we move that to `@bufbuild/protoplugin` or even `@bufbuild/protobuf` and expose it there?
Hey, is there currently any way of outputting `service` definitions as code? Basically `--ts_proto_opt=outputServices=grpc-js` from https://github.com/stephenh/ts-proto but for this package. Currently I'm using a mix of `protobuf-es` and `ts-proto` where...
I have some user-facing functions that take `PlainMessage` as input. The problem is that `PlainMessage` doesn't seem to trickle down to properties that themselves are messages. Take the below snippets...
This is a starting for full support for proto2 extensions, generating a distinct symbol for each extension field. Note that it is a very incomplete draft that only investigates the...
This is a simplistic approach at supporting proto2 extensions. Instead of introducing a bespoke type that users attach to a message, generate the fields added by an extension right on...
There is already native helper support for google.protobuf.Timestamp, and while google.type.* aren't WKTs, they're pretty close. Since it will all be coerced to a JS Date, similar helpers could be...