Support for generating Proto fields with 'optional' keyword
Open
- Dominant language
- Go
- Stars
- 2.3k
- Forks
- 279
- PR merge metrics
- No merged PRs in 30d
Description
I was looking for a way to be able to define the OpenAPI YAML in such a way that gnostic will generate protobuf with some fields using the "optional" keyword (which I think is kind of the reverse of what #275 was focused on). We want to use this optional keyword because we want to be able to check for existence vs. a field being set to its default value.
Is this currently possible, or is there a workaround to achieve this?
Contributor guide
Assessment
This issue has not been assessed yet.