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

Adds functionality to schema_registry_decode to emit defaults or not #2855

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Sep 9, 2024

  1. Adds option for EmitDefaultValues in protojson.MarshalerOpts

    This allows zero value fields and empty strings to NOT be omitted when using `schema_registry_decode` to decode protobuf messages
    
    Originally having a protobuf message like `{"a": 1, "b": 0}` after `schema_registry_decode` would result in `{"a": 1}`, this allows user to specify if that is the intended behaviour or not
    hendoxc committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    ca6ca0c View commit details
    Browse the repository at this point in the history
  2. Updates schema_registry_decode processor to include options for `pr…

    …otojson.MarshalerOpts`
    hendoxc committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    fda8713 View commit details
    Browse the repository at this point in the history
  3. Updates docs

    hendoxc committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    712a29b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    91a1441 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. make fmt

    hendoxc committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    5ea0a89 View commit details
    Browse the repository at this point in the history