Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.
This repository was archived by the owner on May 17, 2023. It is now read-only.

Support other well known types. e.g. StringValue, Int64Value #29

@dpup

Description

@dpup

These protos are useful for representing optional values where you want to disambiguate empty from nil.

I'm happy to work on a PR. The question is what expected behavior should be.

Given:

message M {
  StringValue str = 1;
}

JSON serializes to:

{}
{"str": ""}
{"str": "some value"}

The first two probably shouldn't be equivalent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions