Timo Stamm

Results 302 comments of Timo Stamm

[Protocol Buffers v22.0](https://github.com/protocolbuffers/protobuf/releases/tag/v22.0) adds the feature [option retention](https://protobuf.dev/programming-guides/proto3/#option-retention). This could potentially help us here to control which options should be included in generated code.

> Is there any easy generic way to convert custom options to JSON (as appears in protobuf-ts generated code) without being aware of the extension number? @hugebdu, support for extensions...

This is up next for us. I've update the title of this issue to better reflect that we intend to support (custom) options at runtime for all Protobuf types.

Hey Juan, I've seen this issue before, it's really unfortunate that the Cloudflare implementation raises an error. As a library, it's not really feasible to detect the runtime. But I...

It was just released in [v0.8.6](https://github.com/bufbuild/connect-es/releases/tag/v0.8.6)! Any feedback is much appreciated, Juan :slightly_smiling_face:

Yes, that's part of what I was referring to with "more convenient to use" 🙂 You can use the following options: ```ts useBinaryFormat: false, acceptCompression: [], compressMinBytes: 0, interceptors: [],...

We don't have a good place for Cloudflare support yet. https://github.com/bufbuild/connect-es/issues/550 is specific to handlers. Let's use this issue for the time being 🙂

Support for extensions was just released in [v1.7.0](https://github.com/bufbuild/protobuf-es/releases/tag/v1.7.0). Extensions can be used to retrieve custom Protobuf options from descriptors, [for example in a plugin](https://github.com/bufbuild/protobuf-es/blob/main/docs/writing_plugins.md#using-custom-protobuf-options). But it's not possible yet to...

Just a quick update: We've added support for the JSON format to the gRPC-web transport a while back. It will be released in the first version that ships with the...

Support for JSON in the gRPC-web transport is finally available with [v0.8.1](https://github.com/bufbuild/connect-es/releases/tag/v0.8.1) and can be enabled with a boolean option: ```diff const transport = createGrpcWebTransport({ baseUrl: "https://demo.connect.build", + useBinaryFormat: false,...