Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #11072
Closed
Open
Issue created Dec 08, 2021 by Administrator@rootContributor

[REQ][Protobuf-Schema] Track presence (nullable fields)

Created by: Yurzel

Is your feature request related to a problem? Please describe.

Generator ignores "nullable" property. Protobuf let's you send message without field set, but the other side gets default value. There is no way to say whatever the value was set (to default) or not.

Describe the solution you'd like

https://github.com/protocolbuffers/protobuf/blob/master/docs/field_presence.md

According to this link, there is a optional keyword that adds "has" and "clear" function.

Assignee
Assign to
Time tracking