Not compatible with protobufjs 6.7.x
See original GitHub issuethe rxjs-grpc cli produce this line:
sayHello(request: (sample.HelloRequest|{ [k: string]: any })): Observable<sample.HelloReply>;
You will get the error Property 'name' does not exist on type 'HelloRequest | { [k: string]: any; }'.
If you change the pipe-symbol |
to an ampersand-symbol &
it should work.
sayHello(request: (sample.HelloRequest & { [k: string]: any })): Observable<sample.HelloReply>;
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
6.7.0 - protobufjs - npm
Performance A few internals and a benchmark on performance. Compatibility Notes on compatibility regarding browsers and optional libraries.
Read more >Protobuf 404 on npm install (package dependencies and npm i)
I'm currently 404ing with npm i protobufjs@5.0.0 and npm i protobufjs . Im not sure if this is an issue w/ npm but...
Read more >protobufjs | Yarn - Package Manager
Protocol Buffers are a language-neutral, platform-neutral, extensible way of serializing structured data for use in communications protocols, data storage, ...
Read more >Protobufjs-fathyb NPM - npm.io
Check Protobufjs-fathyb 6.7.1 package - Last release 6.7.1 with ... Compatibility Notes on compatibility regarding browsers and optional libraries.
Read more >protobuf.js
protobuf.js is a pure JavaScript implementation with TypeScript support for ... Note that this library's versioning scheme is not semver-compatible for ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Quick fix: revert back protobufjs to ~6.6.5. Looks like it is not compatible currently with 6.7.x, I will look at it later.
Released in v0.2.0.