Comments (2)
@majelbstoat Sorry, #30 is about something else.
I did not plan to use the static version, but I can change my mind :) Can you explain what is the benefit of using the statically generated code vs interfaces and plain JS objects?
from rxjs-grpc.
Some of it is admittedly just personal preference, where I can look at the code generated by the build step and understand exactly what's going on. For my specific situation, protos are stored in a global common path in a monorepo and the build step arranges for the right generated code to go into the right Docker image for deployment. The protos themselves don't actually go into the Docker image.
But also from a practical perspective, I'm generally in favour of doing preprocessing things offline, once. Application startup time can be a factor, especially if there are lots of protos, and you're using something like Knative to spin up new instances in response to load.
from rxjs-grpc.
Related Issues (20)
- publish $protobuf import patch to npm HOT 1
- ServerBuilder/ClientBuilder for nested namespaces/packages HOT 1
- Output only contains "There are no input files to process." on OSX HOT 1
- Unable to run example with TypeScript 2.5.x HOT 3
- For service calls with streaming requests, the request should be a observable. HOT 1
- Support OS allocated random TCP port HOT 1
- Usage without RxJS? (Pure gRPC to TypeScript) HOT 4
- Enums are received as string, while the generated enum types them as number HOT 3
- Type 'ClientFactoryConstructor<{}>' cannot be converted to type 'ClientFactory'. Property 'getEmployeeRepo' is missing in type 'ClientFactoryConstructor<{}>'. HOT 2
- Type generation error
- Upgrade to RxJS 6 or add rxjs-compat dependency HOT 4
- Split generation and lib into two packages
- Create releases with proper release notes HOT 2
- Translate protobuf oneof attribute values into string literal types HOT 2
- Is it no longer under maintenance? HOT 1
- Don't work in Angular HOT 1
- Unsubscribe Stream does not close connection
- Generated Enum Types Need to be Compiled
- support `protoc --proto_path=$GOPATH/src/whgo/product/proto` like go for import package HOT 1
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 rxjs-grpc.