-
Notifications
You must be signed in to change notification settings - Fork 75
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
Events v2: Update tRPC #8772
Events v2: Update tRPC #8772
Conversation
Oops! Looks like you forgot to update the changelog. When updating CHANGELOG.md, please consider the following:
|
Your environment is deployed to https://update-trpc.opencrvs.dev |
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.
This PR seems to break the declaration flow, as no declaration request is sent upon form submission. This issue occurs on both local env and deployed env
On develop
the request is sent.
Screen.Recording.2025-02-27.at.9.00.02.mov
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.
Seems to work like a charm 👌 Nice work
function getPendingMutations<T extends DecorateMutationProcedure<any>>( | ||
procedure: T | ||
) { | ||
// type MutationFn = Exclude<T['mutationFn'], undefined> |
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.
Commented code
Updates tRPC to the latest version to enable easier customisation of what happens before and after the default mutation and query functions of tRPC