We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
'createCaller' is deprecated.ts(6385) router.d.ts(80, 8): The declaration was marked as deprecated here.
(property) Router<RouterDef<RootConfig<{ ctx: { session: Session | null; }; meta: object; errorShape: DefaultErrorShape; transformer: typeof SuperJSON; }>, { createMirror: BuildProcedure<...>; listMirrors: BuildProcedure<...>; editMirror: BuildProcedure<...>; deleteMirror: BuildProcedure<...>; }, { ...; }>>.createCaller: (ctx: { session: Session | null; }) => DecoratedProcedureRecord<...> & { query: inferHandlerFn<...>; mutation: inferHandlerFn<...>; subscription: inferHandlerFn<...>; }
@deprecated — use t.createCallerFactory(router) instead
@see — https://trpc.io/docs/server/server-side-calls
nothing needed to reproduce
function calls are not deprecated
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
'createCaller' is deprecated.ts(6385)
router.d.ts(80, 8): The declaration was marked as deprecated here.
@deprecated — use t.createCallerFactory(router) instead
@see — https://trpc.io/docs/server/server-side-calls
To Reproduce
nothing needed to reproduce
Expected behavior
function calls are not deprecated
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: