Commit Graph

34 Commits

Author SHA1 Message Date
Justin Beckwith 5181c11d2d refactor: drop usage of _.omit 2018-11-19 16:12:29 -08:00
Michael Lumish cdac42a34f
Merge pull request #642 from JustinBeckwith/mapvalues
refactor: drop usage of _.mapValues
2018-11-19 14:33:32 -08:00
Justin Beckwith 93381c6a0c eh 2018-11-15 18:10:19 -08:00
Justin Beckwith 0c701e8da6 oooops 2018-11-15 18:10:19 -08:00
Justin Beckwith bba0644db5 refactor: drop usage of _.mapValues 2018-11-15 18:10:19 -08:00
Justin Beckwith 31879f8561 refactor: drop usage of _.each 2018-11-15 17:58:14 -08:00
Justin Beckwith f768445771 refactor: replace _.assign with Object.assign 2018-11-15 12:05:56 -08:00
Justin Beckwith 98140ecf2c refactor: stop using _.identity 2018-11-14 16:32:26 -08:00
Justin Beckwith 50ead820a2 refactor: use Array.isArray instead of _.isArray 2018-11-12 20:47:12 -08:00
Michael Lumish f70eabb1ec
Merge pull request #621 from JustinBeckwith/startsWith
refactor: drop usage of _.startsWith
2018-11-12 17:15:28 -08:00
Justin Beckwith a58c178119 refactor: drop usage of _.isFunction 2018-11-09 17:19:27 -08:00
Justin Beckwith 261fb51ba9 refactor: drop usage of _.startsWith 2018-11-09 17:12:34 -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