-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
add new extension row to extensions table #6853
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
WalkthroughA new entry for "trpc-formdata" was added to the Extensions section of the "Awesome tRPC Collection" documentation, highlighting its capability to create FormData procedures that support file uploads. No other modifications were made. Changes
Suggested labels
Suggested reviewers
Poem
π Recent review detailsConfiguration used: CodeRabbit UI π Files selected for processing (1)
π§ Files skipped from review as they are similar to previous changes (1)
β° Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
β¨ Finishing Touchesπ§ͺ Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. πͺ§ TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@dugajean is attempting to deploy a commit to the trpc Team on Vercel. A member of the Team first needs to authorize it. |
@trpc/client
@trpc/next
@trpc/react-query
@trpc/server
@trpc/tanstack-react-query
@trpc/upgrade
commit: |
We support formdata with the httpLink (https://trpc.io/docs/server/non-json-content-types / https://github.com/trpc/examples-next-formdata) How is this different? I know our documentation is a bit bad here π¬ |
@KATT I'm just wrapping that so the user doesn't have to do so much plumbing themselves. I essentially add a fetch wrapper to remove the JSON content type header so that the multipart formdata header is set by the browser with the correct boundary. I do this all within a new link called |
@KATT Can we please get this merged? I believe it's quite cumbersome to get FormData acceptance implemented by hand each time. The library is well implemented and documented. Feel free to give it a review, it's pretty small. |
π― Changes
Add my library to the extensions docs under Awesome tRPC Collection
β Checklist
Summary by CodeRabbit