Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for proto3's optional fields added in protoc 3.15 #485

Open
gwvandesteeg opened this issue Apr 6, 2022 · 0 comments
Open

Add support for proto3's optional fields added in protoc 3.15 #485

gwvandesteeg opened this issue Apr 6, 2022 · 0 comments

Comments

@gwvandesteeg
Copy link

Please add support for the optional attribute on basic data types as per available functionality in protoc 3.15+

enrichment.proto: is a proto3 file that contains optional fields, but code generator protoc-gen-doc hasn't been updated to support optional fields in proto3. Please ask the owner of this code generator to support proto3 optional.--doc_out:

Example:

message Example {
  string display_name = 1;  /// name to display
  optional string given_name = 2;  /// optional first name
  optional string surname = 3; /// optional surname
 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant