Closed
Description
protobuf.js version: <6.4.2>
Enhancement Request.
Was checking out https://github.com/estan/protoc-gen-doc and looking at the results, and thought that maybe pbjs could add the comments from a .proto file to it's own generated comments
Cheers
/**
* The type of change the published type represents
*/
enum ChangeType {
CHG_UNKNOWN = 0; /// An Unknown ChangeType condition
CHG_UPSERT = 1; /// Updated or Insert / Added
CHG_DELETED = 2; /// Deleted
}
could produce
/**
* ChangeType enum.
* The type of change the published type represents
* @name ChangeType
* @memberof com.eoir.mpxs
* @enum {number}
* @property {number} CHG_UNKNOWN=0 An Unknown ChangeType condition
* @property {number} CHG_UPSERT=1 Updated or Insert / Added
* @property {number} CHG_DELETED=2 Deleted
*/
or something like that.
<please paste the stack trace of the error if applicable>