1675 Commits

Author SHA1 Message Date
Michael Lumish
82015542c2
Merge pull request #162 from murgatroid99/remove_argue.js
Replace argue.js usage with inline argument checking
2018-01-24 10:17:07 -05:00
murgatroid99
a50ba76838 Replace Argue.js usage with inline argument checking 2018-01-23 15:55:36 -05:00
Michael Lumish
fcba0c101c
Merge pull request #84 from andrew8er/feature/generic-ts-definitions
Generic Ts definitions
2018-01-22 13:05:40 -05:00
murgatroid99
cd4c45d712 Merge branch 'v1.8.x' into v1.8.x_upmerge 2018-01-22 13:00:51 -05:00
Michael Lumish
707d139f64
Merge pull request #90 from murgatroid99/metadata_plugin_test_fix
Fix a credentials plugin test to match changes in core
2018-01-16 15:38:17 -05:00
murgatroid99
a7aaf31ef6 Generate projects 2018-01-16 12:28:25 -05:00
murgatroid99
83da9b4b12 Merge branch 'master' into metadata_plugin_test_fix 2018-01-16 12:23:05 -05:00
murgatroid99
e0bd6b19cc Update submodule 2018-01-16 12:22:05 -05:00
Michael Lumish
57ae01ab4f
Merge pull request #150 from murgatroid99/v1.8.4_update
Update version and submodule to 1.8.4
v1.8.4
2018-01-12 16:51:55 -05:00
Michael Lumish
28fcd46d0a
Merge pull request #126 from murgatroid99/status_error_output_improvement
Add error code name to status error messages
2018-01-12 16:09:16 -05:00
murgatroid99
01d66dd0b5 Add original details string to errors, update tests 2018-01-12 15:11:21 -05:00
murgatroid99
264cc4767a Update version and submodule to 1.8.4 2018-01-10 14:48:35 -05:00
André Wachter
0d19268ef9 Tighten the definition of ServiceDefinition 2018-01-10 11:08:34 +01:00
André Wachter
a0abff8b8e Rename generic parameter to 'RequestType' in ServerReadableStream for consistency 2018-01-10 10:30:51 +01:00
Kelvin Jin
9f0e496ad8
Merge pull request #134 from kjin/grpc-js-core-work-4
grpc-js-core: merge all eventemitter overloads
2018-01-09 14:56:58 -05:00
Kelvin Jin
d9d99977e5
Merge pull request #132 from kjin/grpc-js-core-work-3
grpc-js-core: prevent callback before 'end' event and handle eos headers as trailers
2018-01-09 14:35:57 -05:00
Kelvin Jin
7f0b5b96f7 grpc-js-core: don't use local emitter vars 2018-01-09 11:32:26 -08:00
Michael Lumish
ea12033eff
Merge pull request #143 from murgatroid99/server_shutdown_callback_error
Add JS error for missing callback to sever#tryShutdown
2018-01-09 13:22:17 -05:00
murgatroid99
843d063037 Add JS error for missing callback to sever#tryShutdown 2018-01-05 13:09:15 -08:00
Kelvin Jin
22438ae678 grpc-js-core: rename streamClosed event to close 2017-12-20 15:53:58 -08:00
Kelvin Jin
aea5bf82e5 grpc-js-core: handle eos headers as trailers 2017-12-20 15:53:58 -08:00
Kelvin Jin
cc231f1f67 grpc-js-core: merge all eventemitter overloads 2017-12-20 14:11:15 -08:00
Kelvin Jin
78f6458888
Merge pull request #128 from kjin/grpc-js-core-work-2 2017-12-20 13:47:18 -05:00
Kelvin Jin
da73a0fff0 grpc-js-core: emit status on client stream calls 2017-12-19 17:01:06 -08:00
Kelvin Jin
ea92b1b16c grpc-js-core: fixes for interop test 2017-12-19 17:01:06 -08:00
Kelvin Jin
6ec3091273 grpc-js-core: unref http2 client socket 2017-12-19 17:01:06 -08:00
Kelvin Jin
d060cea5e9 grpc-js-core: fixing credentials functions 2017-12-19 17:01:06 -08:00
Kelvin Jin
ac186ec8d1
Merge pull request #119 from kjin/gulp-ts
build: simplify gulp commands in package directories
2017-12-18 13:31:07 -05:00
André Wachter
3692053a4e Add missing properties to ServerDuplexStream
- cancelled: boolean;
- metadata: Metadata;
2017-12-18 14:44:15 +01:00
André Wachter
6d21f12cfe Export UntypedServiceImplementation 2017-12-18 14:44:15 +01:00
André Wachter
4ab448e40f Fix typos and whitespace 2017-12-18 14:44:15 +01:00
André Wachter
9b6537545a Remove type parameter from ClientUnaryCall
The type parameter is currently not used and also matches the pure Js implementation this way.
2017-12-18 14:44:15 +01:00
André Wachter
bf330585d0 Make values in callbacks nullable
Values are null in case of errors.
2017-12-18 14:44:15 +01:00
André Wachter
680d60584a Rename all type parameters related to requests/responses 'RequestType' and 'ResponseType'
This improves clarity and consistency with the pure Js implementation.
2017-12-18 14:44:15 +01:00
André Wachter
d20bf6f49e Make type 'handleCall' and related types take a RequestType and ResponseType parameter 2017-12-18 14:44:15 +01:00
André Wachter
0cdc2855c2 Make types 'serialize' and 'deserialize' parametric with their serialization types 2017-12-18 14:44:15 +01:00
André Wachter
55eec06946 Make MethodDefinition parametric with request and response types 2017-12-18 14:44:15 +01:00
André Wachter
7d5547b2dd Drop Service<T> in favour of ServiceDefinition<ImplementationType> 2017-12-18 14:44:15 +01:00
André Wachter
71bee4ab41 Fix the definition of Service<T>
Type aliases will not give the correct inferred type in Server.addService() so use an interface here.
2017-12-18 14:44:15 +01:00
André Wachter
b68e5dd73b Add generic parameters in index.d.ts to some functions and types 2017-12-18 14:44:15 +01:00
André Wachter
98864a343b Fix index.d.ts error: Type 'Message' is not generic. 2017-12-18 14:44:15 +01:00
murgatroid99
7edc14bb1a Attach the proper fields to the Error object 2017-12-15 11:35:47 -08:00
murgatroid99
c2164913e2 Add error code name to status error messages 2017-12-15 11:00:05 -08:00
Kelvin Jin
ad8aa54fd6 simplify gulp commands in package directories 2017-12-14 16:41:24 -08:00
Michael Lumish
31b75d7f07
Merge pull request #124 from murgatroid99/v1.8.0_update
Update to v1.8.0
v1.8.0
2017-12-13 16:24:14 -08:00
murgatroid99
d90a5d4e61 Update to v1.8.0 2017-12-13 13:58:34 -08:00
Michael Lumish
e48ac4ee4e
Merge pull request #120 from kjin/grpc-js-core-work
grpc-js-core: compiler error and http2-facing fixes
2017-12-08 13:04:14 -08:00
Kelvin Jin
b7eb3d6988 grpc-js-core: various fixes 2017-12-07 14:52:38 -08:00
Kelvin Jin
09cb531f9b grpc-js-core: prepend protocol before creating URL object from address 2017-12-07 14:52:38 -08:00
Kelvin Jin
58206feb3f grpc-js-core: compiler error fixes 2017-12-07 14:52:38 -08:00