Commit Graph

23 Commits

Author SHA1 Message Date
Justin Beckwith a58c178119 refactor: drop usage of _.isFunction 2018-11-09 17:19:27 -08:00
Weiran Fang 8320743f6d Retrieve callInvocationTransformer from constructor options. 2018-09-21 09:48:51 -07:00
Weiran Fang cd6e2062c8 Add checker for call invocation transformer. 2018-09-19 17:50:43 -07:00
murgatroid99 41ac29ddd5 Upmerge 1.14 to master 2018-08-17 13:50:05 -07:00
Michael Lumish 803e854a4d
Merge pull request #445 from servel333/patch-1
properly pass `options` to `getDefaultValues`
2018-08-15 09:01:10 -07:00
Michael Lumish 6d520c522c
Propagate channel closed errors up through waitForReady
The errors thrown by `Channel#getConnectivityState` and `Channel#watchConnectivityState` need to be passed to the callback for `Client#waitForReady`.
2018-08-13 11:41:36 -07:00
murgatroid99 c4e3f1b7a0 Add Channel class and Client channel override options to public API 2018-07-19 15:57:33 -07:00
Nathan Perry 44cb04b948
properly pass `options` to `getDefaultValues`
Fixed call in `deprecated_request_wrap` to properly pass `options` to `getDefaultValues`
2018-07-19 16:10:21 -04:00
murgatroid99 01e0d32722 Fix generic client interceptor resolution 2018-06-05 11:14:58 -07:00
Mohamad mehdi Kharatizadeh 232ff022ab stronger checking for functions in client.js
checking for functions simply by instanceof would render library usesless in vm or REPL contexts. because if client is created in another V8 context, typeof would still return "function" but instanceof Function would fail and return false for functions and arrow functions. thus it would be impossible to create client before starting a REPL context.
2018-03-07 01:04:01 +03:30
David Vroom Duke 5bae250077 Implement client interceptors for grpc-native-core
A NodeJS implementation of client-side interceptors, as described in
the proposal: https://github.com/grpc/proposal/pull/14
2018-02-27 20:08:16 -08:00
murgatroid99 ca2704912c Fix handling of undefined values for optional call arguments 2018-02-12 16:57:48 -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
murgatroid99 a50ba76838 Replace Argue.js usage with inline argument checking 2018-01-23 15:55:36 -05:00
murgatroid99 01d66dd0b5 Add original details string to errors, update tests 2018-01-12 15:11:21 -05: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
Bjørn f147856287 Fix type links 2017-09-29 14:17:11 +02:00
Bjørn 6cde0631e8 Typos fixed 2017-09-29 13:58:28 +02:00
murgatroid99 661bdfaa5d Add forced completion queue poll to ensure that waitForReady uses current connectivity state 2017-09-19 13:25:12 -07:00
murgatroid99 ffa1d649b0 Add original name aliases for generated client methods 2017-09-19 11:38:43 -07:00
murgatroid99 0fe5704ad7 Get tests from the C-based library working and add corresponding gulp tasks 2017-09-13 13:54:13 -07:00
Nicolas "Pixel" Noble 3b0b6f5735 Moving files into their new location. 2017-09-12 01:33:18 +02:00