130 Commits

Author SHA1 Message Date
murgatroid99
e87552d918 Fix documentation of part of the type signature for server credentials 2018-02-05 14:35:20 -08:00
murgatroid99
a248009cb9 Merge remote-tracking branch 'upstream/v1.9.x' into v1.9.x_initial_version_bump 2018-02-01 10:47:36 -08:00
murgatroid99
56d5bbdf21 Bump version to 1.9.0-pre3 2018-01-31 15:02:10 -08:00
murgatroid99
081c157f78 Merge remote-tracking branch 'upstream/v1.8.x' into v1.8.4_upmerge 2018-01-31 14:11:43 -08:00
Michael Lumish
5e07d6096f
Merge pull request #159 from murgatroid99/v1.8.x_upmerge
V1.8.x upmerge
2018-01-26 09:37:01 -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
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
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
murgatroid99
843d063037 Add JS error for missing callback to sever#tryShutdown 2018-01-05 13:09:15 -08: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
murgatroid99
d90a5d4e61 Update to v1.8.0 2017-12-13 13:58:34 -08:00
Michael Lumish
dd140c463f
Revert "Copy API tests back to grpc-native-core" 2017-12-07 10:40:08 -08:00
Kelvin Jin
11416e9d70 missed require change 2017-12-06 15:29:56 -08:00
Kelvin Jin
ed78037353 Copy API tests back to grpc-native-core 2017-12-06 13:20:42 -08:00
murgatroid99
f900cfb3dd Update a core header inclusion to stop using extern C 2017-11-30 14:01:05 -08:00
murgatroid99
eba77f295e Update master to 1.9.0-dev 2017-11-30 12:57:20 -08:00
murgatroid99
74c6bd5106 Update v1.8.x branch to 1.8.0-pre2 2017-11-30 12:25:07 -08:00
Michael Lumish
36eb23e9e7
Merge pull request #105 from murgatroid99/alpine_build
Add Alpine build script and Dockerfile, improve existing build scripts
2017-11-30 09:30:37 -08:00
murgatroid99
02e70cba37 Improve message wording 2017-11-29 16:57:13 -08:00
murgatroid99
0ab70b9cb7 Resolve comments 2017-11-29 16:34:34 -08:00
murgatroid99
7652ef74ed Add more helpful error message for failure to load extension 2017-11-29 16:10:56 -08:00
murgatroid99
087d67441b Add alpine build script and Dockerfile, improve existing build scripts 2017-11-29 13:15:34 -08:00
Nicolas "Pixel" Noble
d87f2652b3 Merge remote-tracking branch 'google/v1.7.x' into upmerge 2017-11-17 22:39:17 +01:00
murgatroid99
66aeac683d Update submodule to master 2017-11-17 12:36:41 -08:00
murgatroid99
2f7201a285 Update the submodule and unskip previously failing test 2017-11-17 10:35:29 -08:00
Michael Lumish
1ecab6755a
Merge pull request #92 from murgatroid99/completion_queue_assertion_fix
Remove now-incorrect assertion in completion queue wrapper
2017-11-17 10:19:34 -08:00