[1.0] Moving away from JavaScript implementation #255
Labels
help wanted
Extra attention is needed
needs discussion
A issue needs discussion and community interest
Milestone
What is happening with Rust implementation
In summary, protoc-gen-ts continues to generate TypeScript code from proto files. However, there has been a shift from TypeScript to Rust in the project. This change is explained in more detail in the accompanying issue for the switch, citing reasons for the transition.
Implementation of protoc-gen-ts in JavaScript
typescript
package a peer dependency of protoc-gen-ts which broke the plugin if a wrong version was used. See npm package needs publishing to include fix for typescript >= 5 #225 It fails on Windows #86Implementation of protoc-gen-ts in Rust
Note
the plugin written is javascript is still the latest version published in npm, and it will stay that way for a while to avoid breaking people's code.
you can try out the protoc-gen-ts written in rust by running
npm install @thesayyn/[email protected]
Caution
However, the protoc-gen-ts using Rust as its programming language should not affect the users, they will continue installing the plugin
protoc-gen-ts
.But beware that protoc-gen-ts switching to Rust changed the emitted code in number of ways, please try the new plugin and report the issues back.
The text was updated successfully, but these errors were encountered: