
discord-questions.trpc.io/m/1274313296517795870
Preview meta tags from the discord-questions.trpc.io website.
Linked Hostnames
4- 3 links todiscord-questions.trpc.io
- 1 link todiscord.com
- 1 link todiscord.gg
- 1 link towww.answeroverflow.com
Thumbnail
Search Engine Appearance
Prefertch() privateProcedure (Clerk) in gSSP - tRPC
Trying to do that I'm getting "UNAUTHORIZED" error. I see that for creating **prefetchHelper** I use **createInnerTRPCContext** without passing auth data to it. Does it mean that it is impossible to fetch data from **privateProcedure** using **prefetchHelper** ? Or there are some recomendations how to do this with tRPC? (I know that I can just do Clerk auth check and make Prisma call after, but I want this data to be cached and passed to React-Query) ``` prefetchHelper.ts export const prefetchHelper = createServerSideHelpers({ router: appRouter, ctx: createInnerTRPCContext({}), transformer: superjson, // optional - adds superjson serialization }); ``` ``` trpc.ts export const createInnerTRPCContext = ({ auth, req }: AuthContext) => { return { auth, req, prisma, resend, }; }; export const createTRPCContext = (opts: CreateNextContextOptions) => { return createInnerTRPCContext({ auth: getAuth(opts.req), req: opts.req, }); }; ```
Bing
Prefertch() privateProcedure (Clerk) in gSSP - tRPC
Trying to do that I'm getting "UNAUTHORIZED" error. I see that for creating **prefetchHelper** I use **createInnerTRPCContext** without passing auth data to it. Does it mean that it is impossible to fetch data from **privateProcedure** using **prefetchHelper** ? Or there are some recomendations how to do this with tRPC? (I know that I can just do Clerk auth check and make Prisma call after, but I want this data to be cached and passed to React-Query) ``` prefetchHelper.ts export const prefetchHelper = createServerSideHelpers({ router: appRouter, ctx: createInnerTRPCContext({}), transformer: superjson, // optional - adds superjson serialization }); ``` ``` trpc.ts export const createInnerTRPCContext = ({ auth, req }: AuthContext) => { return { auth, req, prisma, resend, }; }; export const createTRPCContext = (opts: CreateNextContextOptions) => { return createInnerTRPCContext({ auth: getAuth(opts.req), req: opts.req, }); }; ```
DuckDuckGo

Prefertch() privateProcedure (Clerk) in gSSP - tRPC
Trying to do that I'm getting "UNAUTHORIZED" error. I see that for creating **prefetchHelper** I use **createInnerTRPCContext** without passing auth data to it. Does it mean that it is impossible to fetch data from **privateProcedure** using **prefetchHelper** ? Or there are some recomendations how to do this with tRPC? (I know that I can just do Clerk auth check and make Prisma call after, but I want this data to be cached and passed to React-Query) ``` prefetchHelper.ts export const prefetchHelper = createServerSideHelpers({ router: appRouter, ctx: createInnerTRPCContext({}), transformer: superjson, // optional - adds superjson serialization }); ``` ``` trpc.ts export const createInnerTRPCContext = ({ auth, req }: AuthContext) => { return { auth, req, prisma, resend, }; }; export const createTRPCContext = (opts: CreateNextContextOptions) => { return createInnerTRPCContext({ auth: getAuth(opts.req), req: opts.req, }); }; ```
General Meta Tags
6- titlePrefertch() privateProcedure (Clerk) in gSSP - tRPC
- charsetutf-8
- viewportwidth=device-width, initial-scale=1
- next-size-adjust
- descriptionTrying to do that I'm getting "UNAUTHORIZED" error. I see that for creating **prefetchHelper** I use **createInnerTRPCContext** without passing auth data to it. Does it mean that it is impossible to fetch data from **privateProcedure** using **prefetchHelper** ? Or there are some recomendations how to do this with tRPC? (I know that I can just do Clerk auth check and make Prisma call after, but I want this data to be cached and passed to React-Query) ``` prefetchHelper.ts export const prefetchHelper = createServerSideHelpers({ router: appRouter, ctx: createInnerTRPCContext({}), transformer: superjson, // optional - adds superjson serialization }); ``` ``` trpc.ts export const createInnerTRPCContext = ({ auth, req }: AuthContext) => { return { auth, req, prisma, resend, }; }; export const createTRPCContext = (opts: CreateNextContextOptions) => { return createInnerTRPCContext({ auth: getAuth(opts.req), req: opts.req, }); }; ```
Open Graph Meta Tags
3- og:titlePrefertch() privateProcedure (Clerk) in gSSP - tRPC
- og:descriptionTrying to do that I'm getting "UNAUTHORIZED" error. I see that for creating **prefetchHelper** I use **createInnerTRPCContext** without passing auth data to it. Does it mean that it is impossible to fetch data from **privateProcedure** using **prefetchHelper** ? Or there are some recomendations how to do this with tRPC? (I know that I can just do Clerk auth check and make Prisma call after, but I want this data to be cached and passed to React-Query) ``` prefetchHelper.ts export const prefetchHelper = createServerSideHelpers({ router: appRouter, ctx: createInnerTRPCContext({}), transformer: superjson, // optional - adds superjson serialization }); ``` ``` trpc.ts export const createInnerTRPCContext = ({ auth, req }: AuthContext) => { return { auth, req, prisma, resend, }; }; export const createTRPCContext = (opts: CreateNextContextOptions) => { return createInnerTRPCContext({ auth: getAuth(opts.req), req: opts.req, }); }; ```
- og:imagehttps://discord-questions.trpc.io/og/post?id=1274313296517795870
Twitter Meta Tags
4- twitter:cardsummary_large_image
- twitter:titlePrefertch() privateProcedure (Clerk) in gSSP - tRPC
- twitter:descriptionTrying to do that I'm getting "UNAUTHORIZED" error. I see that for creating **prefetchHelper** I use **createInnerTRPCContext** without passing auth data to it. Does it mean that it is impossible to fetch data from **privateProcedure** using **prefetchHelper** ? Or there are some recomendations how to do this with tRPC? (I know that I can just do Clerk auth check and make Prisma call after, but I want this data to be cached and passed to React-Query) ``` prefetchHelper.ts export const prefetchHelper = createServerSideHelpers({ router: appRouter, ctx: createInnerTRPCContext({}), transformer: superjson, // optional - adds superjson serialization }); ``` ``` trpc.ts export const createInnerTRPCContext = ({ auth, req }: AuthContext) => { return { auth, req, prisma, resend, }; }; export const createTRPCContext = (opts: CreateNextContextOptions) => { return createInnerTRPCContext({ auth: getAuth(opts.req), req: opts.req, }); }; ```
- twitter:imagehttps://discord-questions.trpc.io/og/post?id=1274313296517795870
Link Tags
9- canonicalhttps://discord-questions.trpc.io/m/1274313296517795870
- iconhttps://cdn.answeroverflow.com/867764511159091230/6af104c7f0f39a12fcd55bd7bd28928f/icon.png
- preloadhttps://www.answeroverflow.com/_next/static/media/4f05ba3a6752a328-s.p.woff2
- preloadhttps://www.answeroverflow.com/_next/static/media/9cf9c6e84ed13b5e-s.p.woff2
- preload/discord/0.png
Links
6- https://discord-questions.trpc.io
- https://discord-questions.trpc.io/search
- https://discord-questions.trpc.io/u/544865359577088012
- https://discord.com/channels/867764511159091230/1274313296517795870/1274313296517795870
- https://discord.gg/bvFvwRGW74