Skip to content

MessageType.verify should accept all values that MessageType.toObject can produce #748

Closed
@murgatroid99

Description

@murgatroid99

protobuf.js version: 6.7.0

For some conversion options, verify appears to reject some values that toObject can produce. For example, longs: String is a valid conversion option, but if a string is provided, verify outputs uint_64: integer|Long expected. Similarly, enums: String is a valid conversion option, but if a string is provided, verify outputs enum_value: enum value expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions