270 Commits

Author SHA1 Message Date
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
Bernhard K. Weisshuhn
d4e12d1dbb Add libc variable to binary paths in package.json template 2017-11-16 10:08:08 -08:00
Bernhard K. Weisshuhn
452abe73b2 Build different binaries for different libc’s
Closes #81
2017-11-16 10:07:59 -08:00
murgatroid99
45a3ac256c Remove now-incorrect assertion in completion queue wrapper 2017-11-16 09:51:32 -08:00
murgatroid99
ca50f660b7 Fix a credentials plugin test to match changes in core 2017-11-14 15:56:12 -08:00
Michael Lumish
56ba5d2482
Merge pull request #82 from bkw/support-alpine-builds
Build different binaries for different libc’s (a.k.a. support alpine linux)
2017-11-14 09:53:00 -08:00
Michael Lumish
7161e68611
Merge pull request #86 from murgatroid99/submodule_update
Update submodule to head, and update templates to match
2017-11-10 10:11:01 -08:00
murgatroid99
1ceb259401 Skip a test suite that appears to be triggering a core assertion failure 2017-11-10 09:41:24 -08:00
murgatroid99
6be2268e35 Update submodule again to get a bugfix 2017-11-09 11:00:17 -08:00
murgatroid99
93cfa4b60b Update submodule to head, and update templates to match 2017-11-09 09:49:48 -08:00
James Sherwood-Jones
d6711c4d24 Fixed name of ServerCredentials.createSsl in native docs & types. 2017-11-08 09:41:55 +00:00