-
Importing generated files results in an error when running rollup:
`Error: 'GreetRequest' is not exported by proto/test_pb.js`
While there are 3 generated files in the `proto` folder:
```
TestSe…
-
## Description
When building rollup bundles with `@improbable-eng/grpc-web`, a warning about "Missing exports" is thrown.
## Errors seen
```
...
(!) Missing exports
https://rollupjs.org/guid…
-
I used static client and typescript
```
const services = require('./static/helloworld_grpc_pb')
const client = caller('localhost:50051', services.GreeterClient)
```
but when create client
``…
-
Excuse me, what could be the reason for this log? I am using grpc-js
> 14 UNAVAILABLE: upstream connect error or disconnect/reset before headers. reset reason: connection termination
My client cod…
Veath updated
3 years ago
-
When I run `func start` I get these messages. Not sure how to get rid of them
```
func start
Can't determine project language from files. Please use one of [--csharp, --javascript, --typescript, …
-
When the message filed contains number it's name in the generated typescript is not consistent with the JSON Mapping done by the `grpc-gateway` runtime. See example below.
#### Example input messag…
-
Currently ts-proto treats any integer types in .proto as typescript `number` type. This is not always desirable since it can be a source of bugs, e.g., unintentional integer overflow, loss of precisi…
-
```typescript
export function message(): string; // Protocol Buffer message
export function assertDecode(buffer: Buffer): T; // safe decoder
export function assertEncode(input: T): Uint8Array; // s…
-
When generating a JS file for a proto file using the `protoc-gen-grpc-web` plugin, 64 bit integers are treated as the JavaScript `number` type. As numbers in JS are limited precision floating point, t…
-
Now that we've switched to TypeScript, we need to wire up the front end to the backend.
How do we generate ts code from protobuf?
How do we call the backend from the TypeScript frontend?
See:…