With the option json_types=true, we generate JSON types. The JSDoc comments for these types do not carry over the original comments from the Protobuf source, and do not include information like deprecation.
This PR changes the behavior to generate the same JSDoc comments for JSON types as for the primary types.
With the option
json_types=true
, we generate JSON types. The JSDoc comments for these types do not carry over the original comments from the Protobuf source, and do not include information like deprecation.This PR changes the behavior to generate the same JSDoc comments for JSON types as for the primary types.
Closes https://github.com/bufbuild/protobuf-es/issues/971.