Does tRPC websocket client supports wss protocol?
After changing the websocket client url from ws to wss, it fails to connect. Tested out the connection on postman works fine
JO
Jonatan Orozco•345d ago
Is your connection through a valid SSL cert? If you're requesting from HTTP to HTTPS (WSS) the browser will block the connection
P
peguiny•345d ago
Yeah it was, it was a aws alb link. Post man works fine for that link. Idk the term called but I route it to my domain name and used my domain name instead of the direct aws alb link, then it worked
4.8KMembers
View on DiscordMore Posts
Get the type of context after middlewareHow can I get the type of the context of `adminProcedure` from
`export const adminProcedure = public[How To] Properly use trpc UseQuery based on currently selected itemI have a component with a video element and a flatlist. I want to utilize a trpc query to get the viData from useQuery is inferred as data: {} | undefinedMy server query returns data from database via ElectroDB. TypeScript can statically infer all properCannot access 't' before initializationHi,
I'm migrating my app to a mono repo but I just can't get past this error for some reason `CannottRPC Middleware consuming memory limit on VercelHi all, I'm running into a weird error where my tRPC middleware to enforce that a user is authed, isUsing react-query parameters in tRPC for useQueryHello, the useQuery from react-query can take parameters such cacheTime, staleTime, refetchOnWindowFtRPC type error on turborepo```Types of property 'query' are incompatible.
Type 'inferHandlerFn<{}>' is not assignable to tyStack for expo?Can someone recommend a stack for an expo project? I'm considering trpc + fastify + fly.io, but havImplementing a "Prisma model converter middleware"Bit of a fancy name, but if you've ever worked with Symfonys param converters (especially the DoctriSenior Full Stack Developer is Ready.✍️ Skill Set
HTML/CSS/JS, TS
React/Next.js, Angular/RxJs, Tailwind CSS
Wo