question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support proto3 optional keyword

See original GitHub issue

This commit adds support for optional in proto3.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jvolkmancommented, Feb 22, 2021

Thanks for the note.

2reactions
z0mb1ekcommented, Aug 9, 2020

hi. when will it be released?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to define an optional field in protobuf 3 - Stack Overflow
Since protobuf release 3.15, proto3 supports using the optional keyword (just as in proto2) to give a scalar field presence information.
Read more >
Language Guide | Protocol Buffers - Google Developers
You can add fields of any type, but cannot use the required , optional , or repeated keywords. If you need to add...
Read more >
How To Implement Field Presence for Proto3 - GitHub
All code generators will need to be updated to support proto3 optional fields. ... The optional keyword was chosen to minimize differences with...
Read more >
Optional fields - Embedded Proto
As of Google Protobuf version 3.15, optional fields are reintroduced in proto3. Embedded Proto supports optional fields as of version 2.3.0.
Read more >
Optional GRPC fields support : IDEA-285457 - YouTrack
proto:45:14: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found