Emre Savcı
Emre Savcı
> Where would you suggest to add these hook properties? On `Client/HostClient` or on `Request`? It needs both request and response, so we need somewhere which we can access both...
Hi, is there any update about it? We have the same issue: https://github.com/valyala/fasthttp/issues/940
@ubogdan Hi, can you review the changes when you are available? 🙏
> Please improve the unit test for newly added code. I improved the unit tests according to changes 🙏
> Build failed Actually `make test` is passing on my local. Can we retry the pipeline?
Hey @ubogdan, I need your opinion here: - Do we need to add the newly created method parseFunctionScopedTypesFromFile() to packages.loadExternalPackage() L260 too?
> Hey @ubogdan, I need your opinion here: > > * Do we need to add the newly created method parseFunctionScopedTypesFromFile() to packages.loadExternalPackage() L260 too? Hi @ubogdan what about it...
> @mstrYoda Thanks for your contribution! Thank you for your effort 🙏 sorry for the mentioning you a lot :)
> Unfortunately, this is not possible because swag doesn't parse function body. I would like to add that functionality
If swag stores all parsed data globally, then may be uniquify by replacing the model name on conflicts with the packageName + functionName + modelName. Or it can be done...