5 Commits

Author SHA1 Message Date
Martin Traverse
f2a69a5c1d Add tests for handling optional fields in both proto2 and proto3 syntax 2024-07-24 18:30:11 +01:00
pluschen
32f2d6a68b
feat(cli): generate static files at the granularity of proto messages (#1840)
* feat: add message filter for cli

* feat: add test

* fix: update comment

* fix: update error message

* fix: remove test file

* fix: lint, jsdoc comments, return values

Co-authored-by: pluschen <pluschen@tencent.com>
Co-authored-by: Alexander Fenster <fenster@google.com>
2023-01-24 11:44:53 -08:00
Alexander Fenster
7120e93b79
fix: generate valid js code for aliased enum values (#1801) 2022-09-09 13:15:49 -07:00
Simon Lipp
6e713baf54
feat: add null-defaults option (#1611)
* feat: add null-defaults option

* fix: linting

Co-authored-by: Alexander Fenster <github@fenster.name>
Co-authored-by: Alexander Fenster <fenster@google.com>
2021-05-07 20:29:36 -07:00
Alexander Fenster
90afe4412d
fix: fromObject should not initialize oneof members (#1597)
* test: adding test for pbjs static code generation

* fix: fromObject should not initialize oneof members
2021-04-28 18:25:37 -07:00