oto icon indicating copy to clipboard operation
oto copied to clipboard

Multiple Response

Open miko opened this issue 1 year ago • 2 comments

It is possible to define:

type GreeterService interface {
  GetGreetings(GetGreetingsRequest) GetGreetingsResponse
}

but some services return list of objects instead of object with a list of object, so:

type GreeterService interface {
  GetGreetings(GetGreetingsRequest) []Greeting
}

but as I understand it is not currently supported. Could this be added?

miko avatar Feb 22 '24 14:02 miko