protobuf.js icon indicating copy to clipboard operation
protobuf.js copied to clipboard

pbts generated code does not have an interface for generic "message" functions

Open Sushisource opened this issue 5 years ago • 1 comments

protobuf.js version: 6.8.8

When generating static code with pbts I would expect there to be a Message interface with encode, decode, etc. There isn't, so implementing generic functions which accept any protobuf message is a pain.

It'd be really nice if pbts supported this.

Thanks!

Sushisource avatar Jan 02 '19 19:01 Sushisource

any update?

WangHL0927 avatar Sep 08 '22 14:09 WangHL0927