ts-protoc-gen icon indicating copy to clipboard operation
ts-protoc-gen copied to clipboard

Protocol Buffers Compiler (protoc) plugin for TypeScript and gRPC-Web.

Results 52 ts-protoc-gen issues
Sort by recently updated
recently updated
newest added

## Changes - message.ts - changed return type of generated setters to ${messageName} - ran `npm run generate` to regenerate example proto generated code - added tests that chain setter...

lgtm
approved
do-not-merge/hold
size/XXL

**Versions of relevant software used** - libprotoc 3.19.4 - ts-protoc-gen 0.15.0 **What happened** I think this may be related to https://github.com/improbable-eng/ts-protoc-gen/issues/182 We're using [Goa](https://goa.design/) to generate our .proto files. If...

When upgrading from protoc 3.20.1 to 21.1, I get this: ``` protoc-gen-js: program not found or is not executable ``` If I revert, with the exact same `protoc` command, it...

Currently there's no way to chain setters, because they don't return anything. It would be convenient to have setters return the object they're called on: ```js // Current const message...

I cannot seem to find a way to dynamically get the string name (used in the any.pack function) of an object. The only way I know of is to explicitly...

## Changes * added a `import_style` parameter with the only meaningful value `es6`, it affect only `service=grpc-web` generation code. The purpose of this is generate import/export code that doesn't need...

size/M
do-not-merge/hold

Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.4. Changelog Sourced from moment's changelog. 2.29.4 Release Jul 6, 2022 #6015 [bugfix] Fix ReDoS in preprocessRFC2822 regex 2.29.3 Full changelog Release Apr 17, 2022...

dependencies
size/XS
do-not-merge/hold

I have compiled a porto file fileA.porto using `ts-protoc-gen` and got two files fileA_pb.js and fileA_pb.d.ts I am trying to import ts class in fileA_pb.ts following this section of documentation:...

Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3. Changelog Sourced from shell-quote's changelog. 1.7.3 Fix a security issue where the regex for windows drive letters allowed some shell meta-characters to escape the...

dependencies
size/XS
do-not-merge/hold

**Versions of relevant software used** 0.15.0 **What happened** I am using `proto3`, and after generating the typescript schema, only some fields are marked as optional. While, afaik, everything should be...