Open sigmonsays opened 2 months ago
You can try to create middleware that will add the raw query to the context.
I think ogen strives for exact compliance with the specification and the server, so you can't process something that is not in the specification in secret from users
Description
Given the folowing function signature
func (me *MyApi) SomeMethod(ctx context.Context, req *api.SomeMethodRequest) (*api.SomeMethodResponse, error)
How do I access the original http.Request object, I need access to http headers.
References