23 Commits

Author SHA1 Message Date
Taylor McIntyre
d13d5d5688
feat: add getTypeUrl method to generated code (#1463)
* Add getTypeUrl method to static-module generated code

* add tests for getTypeUrl method
2021-05-21 15:53:03 -07:00
Kevin Decker
d871d97278
test: rebuild tests for current runtime (#1476)
* Rebuild gentest sources

* Incorporate gentests into make

Also reorder tasks so type linting is done against newly generated code vs. old.

* fix: add newline to package.json

Co-authored-by: Alexander Fenster <fenster@google.com>
Co-authored-by: Alexander Fenster <github@fenster.name>
2020-09-18 16:01:05 -07:00
dcodeIO
db2dd49f6a Fixed: Prevent invalid JSDoc names when generating service methods, see #870 2017-11-27 17:45:05 +01:00
dcodeIO
cf36097305 Generate more verbose JSDoc comments for ES6 support, fixes #820 2017-06-09 11:03:56 +02:00
dcodeIO
17c2797592 New: Upgrade to codegen 2 2017-04-23 14:51:58 +02:00
dcodeIO
1fc911cef0 Other: Fixed obvious issues with ext/descriptor, does not throw anymore when throwing descriptor.proto itself at it, see #757 2017-04-13 02:40:01 +02:00
dcodeIO
708552bb84 Other: Added infrastructure for TypeScript support of extensions 2017-04-12 19:03:14 +02:00
dcodeIO
59e4478890 Other: Stripped down static bench code to what's necessary 2017-04-07 19:48:10 +02:00
dcodeIO
f88dad0982 Other: Revamped benchmark, now also covers Google's JS implementation 2017-04-07 19:38:18 +02:00
dcodeIO
2c2d4002d6 Other: Manually merged gentests improvements, fixes #733 2017-03-31 14:50:24 +02:00
dcodeIO
364e7d457e Other: Exclude dist/ from codeclimate checks 2017-03-07 23:04:37 +01:00
dcodeIO
27b16351f3 Breaking: Reflected and statically generated services use common utility, now work exactly the same 2017-01-21 19:41:55 +01:00
dcodeIO
7299929b37 Other: Statically generated services actually inherit from rpc.Service 2017-01-21 00:54:58 +01:00
dcodeIO
4bff9c356e Breaking: Cleaned up library distributions, now is full / light / minimal with proper browserify support for each 2017-01-20 02:50:52 +01:00
dcodeIO
b5daa27240 Other: Cleaned up test case data and removed unused files 2017-01-16 18:54:09 +01:00
dcodeIO
340d6aa82a New: Now also parses comments, sets them on reflected objects and re-uses them when generating static code, see #640 2017-01-12 23:37:08 +01:00
dcodeIO
3946e0fefe Breaking: Initial upgrade of converters to real generated functions, see #620 2017-01-12 05:10:14 +01:00
dcodeIO
65637ffce2 CLI: Do not wrap main definition as a module and export directly instead; CLI: Generate prettier definitions with --no-comments 2016-12-31 01:08:14 +01:00
dcodeIO
a7d23240a2 New: Attempt to improve TypeScript support by using explicit exports 2016-12-30 16:33:11 +01:00
dcodeIO
39a2ea361c CLI: Removed now unnecessary comment lines in generated static code 2016-12-27 23:53:24 +01:00
dcodeIO
7fac9d6a39 Properly check Buffer.prototype.set with node v4 2016-12-19 00:34:34 +01:00
dcodeIO
4531d75cdd Can't just inline longNeq but can be simplified 2016-12-16 14:15:22 +01:00
dcodeIO
fb74223b72 Simplified programmatic CLI api; Other minor optimizations 2016-12-15 17:51:24 +01:00