Closed zkoppert closed 2 months ago
'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
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