rogchap / wombat

Cross platform gRPC client
MIT License
1.4k stars 52 forks source link

Cyclic dependency support #107

Open ppcamp opened 1 year ago

ppcamp commented 1 year ago

I was testing the program locally, altough, when I try to use a specific method (that depends on a payload with "recursion"), the wombat fails and doesn't even allow to make the request.

Example of proto

message A {
   string name = 1;
   repeated A childs = 2;
}

message B {
   A a_element = 1;
}

When I tried this same method (which relies on this B message) in other clients, it works properly (such as Kreya, Bloom or gRPCui). In wombot, otherwise, it shows unable to parse proto descriptors: cyclic data detected: B→ B when I select the method.