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
How about adding one more type parameter which stands for the request type, into GTransform?
I came up with this idea while thinking how to add request body logging easily.
I didn't split Request into RequestIn and RequestOut, because I think there would be no any need to transform the content of request itself. (But it could be an option, still.)
How about adding one more type parameter which stands for the request type, into
GTransform
?I came up with this idea while thinking how to add request body logging easily.
Let's call this new trait
RTransform
.I didn't split
Request
intoRequestIn
andRequestOut
, because I think there would be no any need to transform the content of request itself. (But it could be an option, still.)And the result of codegen should be like below.
The text was updated successfully, but these errors were encountered: