Is it okay to pass the _opt.req and _opt.res variables to createTRPCContext?
When using ssg to prefetch / fetch on the server (inside getServerSideProps), I need to pass a createContext object to the ssg:
I'm using the createTRPCContext from create T3 app.
Is this okay to do? I have to pass the req and res from the context because I have a Supabase server client in the background that needs that information:
0 Replies