generation via build hooks #115
Replies: 2 comments 1 reply
-
The idea of having hooks is interesting but I am not sure about how to get this right. Want to raise some concerns here;
This makes me wonder whether it is really worth having this. an alternative could be writing your own plugin which would almost be the same as having a hook. |
Beta Was this translation helpful? Give feedback.
-
I agree, let's keep this in our pockets while we work on alternatives that would scale well and could be maintained outside of protoc-gen-ts. I believe we could have something with |
Beta Was this translation helpful? Give feedback.
-
as suggested in #113 it might be interesting to introduce build hooks for customizing the output of the generator. I wanted to open this discussion on how we might give this concept shape.
Personally I am leaning into the "simple" solution:
expose a couple of generator classes: interface, client, server, message.
for example: I want to generate another style of client as in my PR
Beta Was this translation helpful? Give feedback.
All reactions