Commit Graph

214 Commits

Author SHA1 Message Date
Zbigniew Mandziejewicz 30ed257c49 Optional metadata argument 2018-11-28 14:38:14 -08:00
Zbigniew Mandziejewicz 8bcf950813 Fix naming of nested enums/messages, include field message types in typings 2018-11-27 11:01:05 -08:00
Zbigniew Mandziejewicz 3ecf2939e9 Support nested types and enums 2018-11-26 23:25:41 -08:00
Stanley Cheung def314aec4 Fix response header value with colon 2018-11-09 23:56:20 -08:00
weilip f28d6cb9ed Fix rpc method name clashes. When multiple services in the same proto file define same rpc 2018-11-09 13:22:30 -08:00
A. Ishikawa 5d104af9a8 Support sub directories for generated typescript files (#360) 2018-11-08 20:18:00 -08:00
A. Ishikawa 3bbc5695dc [dts] Add PromiseClient type 2018-11-07 13:44:40 -08:00
rybbchao 3ea2ea4798 Fix output dts about 'repeated' for --grpc-web_out=import_style=commonjs+dts 2018-11-05 13:54:35 -08:00
Henrik Sjööh e02d010bda update generated typescript files to work in strict mode 2018-11-05 13:54:13 -08:00
Stanley Cheung 4ca20a4f9c internal sync 2018-10-14 17:37:16 -07:00
Stanley Cheung f92cedafbf Show how deadline can be set 2018-10-06 01:10:16 -07:00
Mitar a312d85d38 Correctly generate code if package name is empty.
Fixes #306.
2018-10-04 22:05:17 -07:00
Mitar c727bcc6df Use delegateClient in PromiseClient 2018-10-04 19:49:09 -07:00
Juanjo Diaz 46df515997 Add streaming methods to PromiseClient 2018-10-02 23:55:43 -07:00
Stanley Cheung 3d58487207 Error code should be number 2018-10-02 14:50:42 -07:00
Stanley Cheung 7a241cbc70 Fix plugin compile error 2018-08-30 22:35:44 -07:00
Stanley Cheung 9877e80266 Fix cpp warnings 2018-08-29 11:21:45 -07:00
Stanley Cheung 50917db817 Make sure .ts generated code passes linter 2018-08-27 16:43:41 -07:00
Stanley Cheung 1f45a03110 Experimental Typescript support 2018-08-24 15:34:01 -07:00
Stanley Cheung 01d3b6380b Default generate file to <proto>_grpc_web_pb.js 2018-08-20 10:21:19 -07:00
Stanley Cheung f1b89d2271 Various fixes to codegen plugin 2018-08-17 17:42:04 -07:00
Stanley Cheung b6d553b215 Add generated code unit test 2018-08-14 17:16:21 -07:00
Stanley Cheung df9ce4bd81 Expose response metadata for unary calls 2018-08-09 00:17:31 -07:00
Stanley Cheung 101049e4dc Add unit test 2018-08-07 17:12:01 -07:00
Stanley Cheung efdee49952 Minor edits 2018-08-06 14:22:42 -07:00
Stanley Cheung c6ceed23a9 Fix lint error from code generator 2018-08-06 11:13:19 -07:00
Stanley Cheung ef435f1a97 Fixed some lint errors 2018-08-06 10:43:59 -07:00
Yannic Bonenberger 76a4de8a6c Add bazel rule closure_grpc_web_library 2018-08-05 15:30:57 +02:00
Stanley Cheung a9aa7dffb0 Added multiple proxies interoperability 2018-08-03 23:49:02 -07:00
zaucy 34450f2b8c commonjs support with import_style option 2018-07-27 16:57:49 -07:00
Stanley Cheung 20c07feda7 Add build rules for protoc codegen plugin 2018-07-26 19:35:56 -07:00
Stanley Cheung 98b882711f Add bazel integration and tests 2018-07-26 19:35:56 -07:00
Stanley Cheung 370bec38b3 Surface underlying XHR errors better 2018-07-12 23:11:30 -07:00
Stanley Cheung 73ecb102f4 Minor edits 2018-07-11 11:29:42 -07:00
Stanley Cheung 3f672f95cd Add options to suppress cors preflight 2018-07-10 10:49:36 -07:00
Stanley Cheung f02fd2d3cb Replace default proxy with Envoy to run end-to-end Echo example; 2018-07-02 23:28:43 -07:00
Stanley Cheung fc49d64b21 Minor code clean up 2018-05-15 17:51:30 -07:00
zaucy 626c185282 Support for proto files without packages 2018-05-13 20:05:13 -07:00
Stanley Cheung 235a788e36 Migrate goog.provide to goog.module 2018-04-02 13:47:47 -07:00
Stanley Cheung f0a368fd55 Set X-User-Agent header according to spec 2018-03-01 13:23:47 -08:00
Stanley Cheung fd3aa34b83 Added License headers to all files 2018-02-22 14:09:55 -08:00
Stanley Cheung 41d2e01c67 Update some invalid jsdoc 2018-02-12 10:50:39 -08:00
Stanley Cheung 4b51562ac6 Expose error callback to client 2018-02-08 14:20:05 -08:00
Stanley Cheung d3a360d454 minor fix 2017-12-14 00:33:25 -08:00
Stanley Cheung c1f4cdb2dc Added a new client mode for the application/grpc-web-text format 2017-12-13 23:05:45 -08:00
Stanley Cheung f9f06ef13a Expose stream end event to client 2017-12-04 21:38:52 -08:00
Stanley Cheung bcc89b8856 Minor update to client 2017-11-21 16:49:43 -08:00
Stanley Cheung 6ba2b8bc10 Add genericpbjsclient 2017-08-17 23:48:40 -07:00
Stanley Cheung 2746b47135 Update codegen 2017-04-18 12:50:40 -07:00
Stanley Cheung 46a921638a Fix make clean 2017-03-23 11:05:13 -07:00
Stanley Cheung d271ba0a0a Refactor example
grpc backend code
2017-03-22 23:08:44 -07:00
Stanley Cheung 7124fc88b7 Update javascript library to use new headers 2017-03-15 14:03:31 -07:00
Stanley Cheung b024f276b0 Fix mac install script, and a bug in clientreadablestream 2017-02-16 16:14:02 -08:00
Stanley Cheung 1c76eae425 Fix jsdoc 2017-02-16 11:18:23 -08:00
Stanley Cheung cea6f9ae8a Propagate grpc backend status to frontend 2017-02-13 11:11:14 -08:00
Stanley Cheung ff31531764 Codegen changes 2017-02-04 00:43:00 -08:00
Stanley Cheung 95ab9bc94a Some frontend changes sync 2017-02-02 16:15:27 -08:00
Stanley Cheung d12765ff19 Update doc 2017-01-11 16:05:39 -08:00
Stanley Cheung 22a97519ad Fix grpc-web codegen Makefile 2017-01-10 12:00:38 -08:00
Stanley Cheung db33790752 Updated codegen 2016-12-21 16:13:38 -08:00
Stanley Cheung 8a72d71d81 Refactor clientbase 2016-12-20 15:55:13 -08:00
Stanley Cheung 22121f67bb Sync some internal changes 2016-12-07 14:06:31 -08:00
Mark Grimes e5fe1be838 Switch the link order of the protobuf and protoc libraries to resolve unresolved symbols when linking statically 2016-11-03 09:52:48 +00:00
Stanley Cheung 4dd46b8450 Initial commit for GRPC-Web JS client and example 2016-11-02 15:23:20 -07:00