You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the response/request parameter is a struct and not a primitive like string,int etc.. the generated endpoint will not be compilable because it will not know where to import that parameter in :
// FooRequest collects the request parameters for the Foo method.
type FooRequest struct {
S MyStruct //<----- Here
}
MyStruct can be in any place like e.x in the service package or elsewhere, I need to find a way to find these cases and handle them differently.
The text was updated successfully, but these errors were encountered:
If the response/request parameter is a struct and not a primitive like
string,int
etc.. the generated endpoint will not be compilable because it will not know where to import that parameter in :MyStruct can be in any place like e.x in the
service
package or elsewhere, I need to find a way to find these cases and handle them differently.The text was updated successfully, but these errors were encountered: