nestJs=true + outputServices=grpc-js #784
-
Hey there. Thanks for this awesome library! I'm currently in need of generating the I saw in the code that this is not possible. The Lines 249 to 268 in 3700d48 I created a PR to update the documentation regarding this: #783 But I do have a question: Since I need the output of both options, I'm currently running
Basically, creating one set of outputs in As a cheap quality-of-life improvement, to avoid importing from two separate files, I'm adding an So, for example, instead of doing this:
I can do this:
With the case I tried, this worked fine. But I just got lucky there are declaration conflicts between one file and the other, otherwise the So, my question is: is this likely to blow up soon, or is it normal for there not to be conflicts between files? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Fwiw @lautarodragan I'm pretty sure that "if If you'd like to tinker with the code, and be able to output both nestJs=true + outputServices=grpc-js that seems fine to me? I guess? Out of curiosity, is this b/c you're like using NestJS on the client-side but not-NestJS on the server-side? Or the other way around? |
Beta Was this translation helpful? Give feedback.
Fwiw @lautarodragan I'm pretty sure that "if
nestJs=true
ignore the services" was not necessarily on purpose, but just a happenstance that, when thenestJs
code was originally written, the author didn't want any of the existing output/services, and theif/else
was the easiest way to do it.If you'd like to tinker with the code, and be able to output both nestJs=true + outputServices=grpc-js that seems fine to me? I guess?
Out of curiosity, is this b/c you're like using NestJS on the client-side but not-NestJS on the server-side? Or the other way around?