-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added ability to generate typings for grpc-node service files #42
Conversation
Exactly what I need! |
Thanks for contributing @OBTo; this looks great! Before I can merge this please could you follow up with the following changes:
|
Just FYI, this seem to require the js files to be generated separately by the grpc-tools package. |
Not totally sure, but this might be rendered moot by #40 |
What is the status of this PR? In contrary to @jonahbron, I don't think it is rendered moot by #40. By using The readme has a Everything is working so far except that I cannot use the created |
@Junkern is correct, #40 generates service stubs for This diff is going to require quite a lot of effort to get it rebased following a couple of extensive refactors (in particular #40 and #51) however I do see the benefit of having ts-protoc-gen output these typescript definitions. I'm pretty busy at the moment and don't have a lot of time to contribute, is there anyone reading that would be in a position to pick this PR up, please? |
Unfortunately, I wont have time to make the necessary changes (added tests and some refactoring) anytime soon. Quite swamped atm. |
I could do it, as I want to have this anyway ;) Should I rework the current PR or start a new one (clean state....)? @jonnyreeves |
Awesome, thanks for volunteering.
Clean state referencing the work achieved here may be quicker IMHO.
Note you may wish to wait for #69 to land first.
…On Wed, 23 May 2018, 08:41 Martin, ***@***.***> wrote:
I could do it, as I want to have this anyway ;) Should I rework the
current PR or start a new one (clean state....)?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMN-f9aT7CN5W29SSNAsBNbIwlYxEV4ks5t1RK3gaJpZM4Sd9ER>
.
|
FIY: #69 has landed, so I will start working on this |
Closing in favour of #75 |
This PR adds the ability for users to output typings for the service files generated by protoc for node. Let me know if you have any questions or concerns about adding this to the library :)
Note: The addition of the two deps is strictly for the types they provide.