-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat: Add trpcMiddleware
back to serverside SDKs
#11374
Conversation
(not in this PR, but we should prob. add an E2E test for this...) |
Bundle ReportChanges will increase total bundle size by 4.76kB ⬆️
|
@mydea Absolutely. I wanna do it in this PR actually. That's why it's still in draft. |
}, | ||
}, | ||
span => { | ||
let maybePromiseResult; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
l: can we rewrite this to use handleCallbackErrors
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will very much not reduce the code here by much, if at all, because we need to inspect maybePromiseResult
.
size-limit report 📦
|
The `trpcMiddleware` export will move from `Handlers` to a top level export in v8. This is more or less backporting #11374 to v7.
Adds back the
trpcMiddleware
we accidentally removed when removing the old@sentry/node
package.