ProxymanApp / ProxymanApp/Proxyman

Cannot set *Message Type* when using `protobuf`

Open
#706 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Proxyman version?

Version 2.13.0 (21300)

macOS Version?

Version 11.0.1 (20B29)

Steps to reproduce

I have a photo file like this:

syntax = "proto3";

package example.api.feeds.v2
import "google/protobuf/any.proto";
option go_package = "git.example.com/api/feeds/v2;v2";
option java_multiple_files = true;
option java_package = "com.exaple.api.feeds.v2";
option objc_class_prefix = "FeedsV2";

service Feed {
    rpc list(Req) returns (Reply);
}

message Req {
    int32 page = 1;
}

message Reply {
    repeated ListItem items = 1;
}

message ListItem {
    string content = 1;
}

And then I'm trying to parse the response which is encoded as protobuf. Here is the settings:

  1. I add the photo file:
    Screen Shot 2020-11-25 at 11 56 06 AM

  2. I cannot set the message type:
    Screen Shot 2020-11-25 at 11 58 49 AM

All I can find in the drop-down list of Message Type are like "google.protobuf.*".

Expected behavior

I can find the message type correctly.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the supplied .proto schema and checking the Message Type selector after importing it. Trace how user-defined message types are discovered and compare them with the listed google.protobuf.* types. Done means the Feed messages, including Req, Reply, and ListItem, appear as selectable message types.

Written by the indexing model from the issue text.

Assessment

Domain
api, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.