Skip to content

Prevent creation of invalid attribute values #116

Description

@charithe

It's possible to create invalid google.protobuf.Value objects using Google's own Value constructor. Doing something like Value(struct_value=None) is allowed but it produces a wire representation that other protobuf libraries such as protojson reject. We need a way to prevent the users from creating these invalid values.

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