Skip to content

[Feature Request]: MatchProto  #112

@tagptroll1

Description

@tagptroll1

🚀 Feature Proposal

A matching function for protobuf models. There are plenty of ways to format any proto structs to string, or pass the type to the function as an option

Motivation

Proto is a very common data transport form in go. Having the ease of matching proto structs / binaries directly would significantly increase test writing productivity

Example

msg := kafkaMock.Next()
MatchProto(msg.Value)
// Or typed
MatchProto[ProtoStruct](msg.Value)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions