Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header tag not work in generic #692

Open
tuna-wolffun opened this issue Dec 27, 2024 · 0 comments
Open

Header tag not work in generic #692

tuna-wolffun opened this issue Dec 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tuna-wolffun
Copy link

type OutputResp[B any, H any] struct { Body comm.ResponseT[B] json:",inline" doc:",inline"Header H json:",inline" header:",inline" doc:",inline" }
"I'm trying to wrap my response with a generic type. While the body is working correctly, I'm having issues with the header. The response header doesn't display my custom headers.
image

@danielgtaylor danielgtaylor added the bug Something isn't working label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants