discord-questions.trpc.io
Open in
urlscan Pro
76.76.21.123
Public Scan
URL:
https://discord-questions.trpc.io/
Submission Tags: phishingrod
Submission: On June 07 via api from DE — Scanned from DE
Submission Tags: phishingrod
Submission: On June 07 via api from DE — Scanned from DE
Form analysis
2 forms found in the DOM<form class="absolute left-1/2 top-1/2 hidden w-full max-w-[620px] -translate-x-1/2 -translate-y-1/2 2xl:block"><input type="search"
class="h-10 rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 mb-4 absolute left-1/2 top-1/2 hidden w-full max-w-[620px] -translate-x-1/2 -translate-y-1/2 2xl:block"
placeholder="Search" value=""></form>
<form class="w-full"><input type="search"
class="flex h-10 rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 mb-4 w-full"
placeholder="Search the tRPC community" value=""></form>
Text Content
tRPC Change ThemeSearch Answer OverflowLogin TRPC JOIN THE TRPC SERVER TO ASK QUESTIONS! Join TRPC JOIN THE COMMUNITY TO ASK QUESTIONS ABOUT TRPC AND GET ANSWERS FROM OTHER MEMBERS. Join onethread View on Discord 6/6/2024 Cookies not being passed on to client Hi all, I can't tell if I'm simply trying to wrangle TRPC into doing something it's not designed to do, or if I'm just doing it wrong. I'm using trpc to proxy our auth server, something like: ``` .mutation(async ({ input }) => {... kubus View on Discord 6/6/2024 Does the fastify adapter support content-type multipart formdata on v11? I saw that recently formdata support was merged in, and i was interested if the fastify adapter supports it and does it need @fastify/multipart? web View on Discord 6/6/2024 NextJs Setup: `useContext is not a function` Env: Bun 1.1.10 This morning I started following this guide to setup tRPC in my existing NextJs project https://trpc.io/docs/client/nextjs/setup ... Peform View on Discord 6/6/2024 TRPC response data changing to undefined when typing in a form field. Hello, I'm currently having a very strange issue, I am using a form to input some data and send off to a trpc endpoint to retrieve some data from the server when I click the submit button. However, the respnose userData variable is being changed to undefined whenever I type into the form field. I am not sure why this is happening as I do not mutate userData anywhere, and there are no new TRPC queries running (verified checking network tab) and the TRPC endpoint is set to disabled. So it will only fetch data once I call the refetch function... Anyone have any idea?... Kimblis View on Discord 6/6/2024 Trpc in monorepo with microservices Hello, so I have monorepo with multiple services. Each client currently has 1 backend for it so it was working well so far, however now I'm building new services (backend only) and I want to either contact them as well through my client (means 1 client should have multiple trpc clients) or my trpc servers should be able to communicate between themselves. What would be the preferable approach and are there any best practices developed on this front yet? Peform View on Discord 6/5/2024 conditionally fetching data with a useQuery Hello, From my understanding a useMutation is primarily for updating/deleting/creating a record. And a useQuery is primarily used for fetching data from the server. However, when it comes to conditionally fetching data from the server I belive the syntax for a useMutation is much more ideal? I'm not sure if I am missing something, or if in this scenario it would be better to use a useMutation.... jepcd View on Discord 6/5/2024 Using trpcState with Remix Following the guide, seems like the serialized stuff is sent down, but not used by the client. Cliff View on Discord 6/4/2024 integrating with Meteor I have made a simple app with express before and now I am trying to get a proof of concept running with Meteor.js. Meteor has a webApp component that behaves much like an express handler. For example, I can do this: ``` WebApp.connectHandlers.use('/trpc', ... David View on Discord 6/4/2024 Best way to get the type of the first argument for .query or .mutation I am creating an abstraction in which I expect the consumer to pass the whole object that is passed as the first argument of .query or .mutation. But im not sure if there is a helper type to get this type from our instance? Derock View on Discord 6/3/2024 is it possible to send error codes that aren't listed (eg 503 - service unavailable) When creating a TRPCError you can specify a code out of the ones listed on the docs But out of these, the only 5xx error is internal server error. I would like to send a 503 to indicate that the request was properly formatted, but the server isn't ready to handle it yet. It's not necessarily a server error.... 𝚜𝚗𝚘𝚘𝚣𝚎 View on Discord 6/3/2024 Next 14 app router Is there any docs for NextJS 14 app router integration ? jaacsen View on Discord 6/2/2024 is there a way to fetch real time data in server side instead of client side(invalidate)? just the title Ignition 98 View on Discord 6/2/2024 experimental_nextAppDirCaller ERROR Hey y'all 🙂 I'm reading new blog post by @julius about TRCP with Next Server Actions approach. Was following the steps to use ... brumbrum_brum View on Discord 6/2/2024 Generic query type Does TRPC offer a generic query type? I am thinking of a type where I can control the input/output interface, and then be allowed to pass any query with those interfaces? warflash View on Discord 6/1/2024 How to prevent leaking error messages to client? Hey everyone! I noticed that TRPC seems to log quite extensive error codes in the response body of failed requests, even in production builds. I really don't want my users to be able to see e.g. Error: connect ECONNREFUSED 10.1.0.6:5432\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)\n Thanks!... tao_zei View on Discord 5/31/2024 TRPC NUXT req run 2 times(on server and client) Hi everyone, I have a problem using DataCache in SSR. I am using this function to "GET" my plan. But every time I navigate to this page, I see an http request. It's like the data is not being cached...... gave_one View on Discord 5/30/2024 405 error this is my set up flodlc View on Discord 5/29/2024 useUtils().setQueriesData should not take input as param. In react query spec, setQueriesData takes filters and updater as parameters. For me it does not make sense to have a required input param since it targets a specific query. What's the difference with setQueryData ?... advanced View on Discord 5/28/2024 client unable to infer output types I'm using v11 of trpc in tandem with drizzle on my backend. The client is a react native app. I've spent several hours trying to figure out why my outputs are inferred as Any. when I check the type on the backend I get the correct type so it's only happening on the client. for example product.list is a drizzle query that return an array of product but this is what I get. ```type LIST /* LIST is Any */ = RouterOutputs["product"]["list"];... michaelschufi View on Discord 5/28/2024 How to access the request body in the onError callback? Hi 👋 I'm having trouble getting the request's body (probably plain text) when the following error occurs in the fetchRequestHandler: ``` TRPCError: "input" needs to be an object when doing a batch call... PreviousNext Powered by