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

fix(core): Update trpc middleware types #13859

Merged
merged 5 commits into from
Oct 3, 2024
Merged

fix(core): Update trpc middleware types #13859

merged 5 commits into from
Oct 3, 2024

Conversation

chargome
Copy link
Member

@chargome chargome commented Oct 3, 2024

fixes #13857
relates to #13831

@chargome chargome requested a review from lforst October 3, 2024 09:08
@chargome chargome self-assigned this Oct 3, 2024
const sentryMiddleware = Sentry.trpcMiddleware({ attachRpcInput: true });

const procedure = t.procedure.use(async opts => sentryMiddleware(opts));
const procedure = t.procedure.use(Sentry.trpcMiddleware({ attachRpcInput: true }));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are back baby

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tRPC v10 middleware type error
2 participants