ts-protoc-gen
ts-protoc-gen copied to clipboard
Change return type of generated setters to the message type
Changes
- message.ts - changed return type of generated setters to ${messageName}
- ran
npm run generateto regenerate example proto generated code - added tests that chain setter calls and verify value on generated object
Verification
Added unit tests for chained setter methods.
This fix is seriously important for the ts-protoc-gen users (and me). It seems that fixes and tests are good enough (for me). Would it be possible for the maintainers to review again?
Note: This PR fixes #218 #285 .
Update: This PR also fixes #289
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: MarcusLongmuir
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [MarcusLongmuir]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Just ran into this issue trying to update definitions. It looks like this PR is approved - any reason it can't be checked in and pushed out in a new version? Anything I can do to help?
Bumping this PR... is there any reason this can't be merged?
bump