Comments (5)
When I had 1.2.0 installed I would get a status event with code 0 and then nothing else would come through.
Yep, I see the same on my projects now. Looks like some of their underlying API is changed.
Out of curiosity, why are "peerDependencies" used rather than just a dependency?
Well, a long story short: in frontend projects in general its better to use peerDependencies over dependencies to avoid client side code duplication (e.g. when you have two projects importing different versions of the same library). In addition, as an end-consumer of the library you can easily override any dependency in "peerDependencies" by installing the one you want; with "dependencies" it is impossible; that's just how npm works. As a downside - the dependencies from "peerDependencies" aren't automatically installed. However, it's better evil :)
from ngx-grpc.
Hi there,
thanks for reporting!
The dependency in package.json is at "peerDependencies", so it does not really force anything; one should be able to use any matching version.
Need to investigate more on what's broken in 1.2.0. This lib doesn't use Promise
implementation as far as I remember.
from ngx-grpc.
When I had 1.2.0 installed I would get a status event with code 0 and then nothing else would come through.
Out of curiosity, why are "peerDependencies" used rather than just a dependency?
from ngx-grpc.
This issue is a really good one, there are a lot of useful insides described in the connected issue on grpc-web side.
There is also an upcoming followup fix -> grpc/grpc-web#868 .
Please use latest version that fixes the issue.
from ngx-grpc.
@smnbbrv thanks for digging into it, looks like they have been very helpful.
from ngx-grpc.
Related Issues (20)
- How to decode grpc-web-text HOT 2
- Angular 16 issue HOT 1
- ngx-grpc client service throwing error HOT 1
- Running the plugin as a standalone executable throws Error: Cannot find module 'tslib' HOT 7
- [Question] GrpcHandler undefined HOT 1
- Question regarding google.api.http HOT 1
- Client Side Load Balancing
- Question: How can I use two GRPC service instances? HOT 5
- Any type usage help HOT 2
- Define the host in the constructor of my service instead of in the AppModule HOT 2
- Bi-directional streaming with @ngx-grpc/grpc-web-client HOT 1
- Package name with uppercase letters is not properly generated HOT 7
- update @improbable-eng/grpc-web dependency HOT 3
- Combine web worker and ImprobableEngGrpcWebClientModule? HOT 2
- How to reduce timeout or deadline? HOT 1
- do I need to handle connection close in server side HOT 4
- No licence specified at npm for @ngx-grpc/grpc-web-client HOT 1
- int64 is a string HOT 8
- Why are all properties generated in interfaces optional? HOT 3
- When I write in the settings file pbconf generate false. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-grpc.