-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Remove undefined HTTP headers from TRPCClient #1713
Conversation
This pull request is being automatically deployed with Vercel (learn more). next-prisma-starter – ./examples/next-prisma-starter🔍 Inspect: https://vercel.com/trpc/next-prisma-starter/EHRxiiLu4rgz3CMhHbkUAwS7XhRm www – ./www🔍 Inspect: https://vercel.com/trpc/www/BaCQNWi7L37PRi3QNcqzU4kMsWa9 |
3f9bac3
to
e1c9c5a
Compare
e1c9c5a
to
2de9828
Compare
f7e3913
to
254b7ea
Compare
e6e8e38
to
5077303
Compare
This pull request has been locked because it had no new activity for 30 days. If you think, this PR is still necessary, create a new one with the same branch. Thank you. |
Closes: #1712
Remove undefined HTTP headers from TRPCClient
Added a transform to delete headers with
undefined
values before HTTP requests are sent by theTRPCClient
.Changes
httpRequest
methodundefined
typing fromHTTPHeaders
record