is this middleware is good for longterm?
hello guys, in these code snippet i want to check if user is subs and valid, but i im wondering if this thing is good to do for long term, and what is the pros and cons of this
thankss
F
FleetAdmiralJakob 🗕 🗗 🗙•289d ago
Hey @Fatwa , I'm stuck in a problem related to the middlewares and I think you know the answer to my problem.
How does this ctx thingy work? Like why is it of type :{} and how can I get data out of it?
A
arete•288d ago
can you be more specifc to what are you trying to achieve?
21KMembers
View on DiscordWant results from more Discord servers?
More PostsBidrectional Infinite Scrolling ImplementationHi guys have you ever implemented something like this in a chat application? or any application for Is it possible to generate a github action to build a preview of a pull request in nextjs?Im looking for a way to generate preview for my nextjs project but I didnt find a way to do it that File Uploads to Local StorageI'm building a website for my brother's shop. They want an admin panel where they can add new producChange ctx.session.user values to include new ones? Bad idea?Right now when using `ctx.session.user` I get a few default options that come with t3-app.
`.id`, `Next13 app-router: How to get request headers on client page comp?All my pages are client components because I want to use page transitions and need to wrap them in aCan i send a file from trcp router?I want to send a xlxs/csv file to FE (expo). Can i do this like expressJs? or do i need to first upluseSession has an empty user object {}When using the useSession hook, session.data contains `{ user: {}, expires: '2023-06-30T20:30:42.181TypeSafe external API ?I am currently communicating with an external API and after falling in love with TRPC, I would like