Returning Prisma generated in nextjs issues error 'TypeError Do not know how to serialize a BigInt'
trpc.useQuery() succeeding but returning empty data?
data object in the useQuery result is undefined...Is NextJS Api worth? When do we use it?
Custom fonts not working in new version of tailwindcss
rich text react
How do i parse Fetch response with superjson
``ts
const groupResponse = await fetch(${baseUrl}/groups`);
//Handle errors...how to http fetch from nextjs app running on GitHub codespaces without being prompted to login
Prisma where every filter on many-to-many
Entry to Campaign. I want to find all entries connected to a given campaign. I thought I could just do
```ts
const entries = await ctx.prisma.entry.findMany({
where: {...
NextJS build works locally but fails when deployed to Vercel

Creating a new record that's related to an existing record and creates new relations?
Call trpc query after click or change
const handleClientChange = async (value: string) => {
const result = trpc.client.getOne({ id: value }).useQuery()
const handleClientChange = async (value: string) => {
const result = trpc.client.getOne({ id: value }).useQuery()
Sanitize Credentials from Prisma Output
Little confused with tRPC and tanstack-query. plz help
What is this React pattern called?
filter approaches on endpoints
server side calls trpc
zod to check if string is only whitespaces
is there a way to typesafety in Swagger Ui
getServerSideProps NextJS
Union TS generic function definitions into one type with all possible input -- output types
data key will be based on the input string passed as an argument. I went ahead and created a def that accepts two generic parameters, one which represents the input string literal (T) and the other which represents the expected shape of the data (U):
type UseGQLGeneric<T, U> = (
request: T, // GQL query string
requestOptions?: object
) => [RequestFn<U>, UseClientRequestResult<U>]; // U being the response body
type UseGQLGeneric<T, U> = (
request: T, // GQL query string
requestOptions?: object
) => [RequestFn<U>, UseClientRequestResult<U>]; // U being the response body