improbable-eng / ts-protoc-gen

Protocol Buffers Compiler (protoc) plugin for TypeScript and gRPC-Web.
Apache License 2.0
1.37k stars 172 forks source link

How to deal with extensions? #293

Open LazloN5 opened 3 years ago

LazloN5 commented 3 years ago

Hi,

I've been looking around but I couldn't find any clear answer. I have this custom message: message CustomMessage { required uint32 conversationID = 1; extensions 2 to max; extend CustomMessage { optional Request request = 2; optional Response response = 2; } }

How do I add the Request to the message in typescript ?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.