protocolbuffers.github.io icon indicating copy to clipboard operation
protocolbuffers.github.io copied to clipboard

Go Generated Code Guide (Open)

Open casyuyii opened this issue 4 months ago • 1 comments

Image "Explicit Presence Scalar Fields" that generate a pointer type value should be "optional"

casyuyii avatar Aug 21 '25 10:08 casyuyii

Thanks for bringing this to my attention. I took a pass through most of our documentation (there are still a few not yet done) to move examples from proto2/proto3 to editions-based. Where there is a difference in how they're defined, I would include both in an example, such as this section of the same topic. I should have done the same for the section you identified (and maybe others in the topic). I'll take another pass to correct this.

Logofile avatar Sep 10 '25 13:09 Logofile