Alan_szt
Alan_szt
Explore posts from servers
PPrisma
Created by Sebosss on 2/11/2025 in #help-and-questions
Timed out fetching a new connection from the connection pool
I got the same issue. AWS Fargate with MySQL. https://github.com/prisma/prisma/discussions/9273 Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d/connection-pool (Current connection pool timeout: 10, connection limit: 3)
15 replies
DTDrizzle Team
Created by Alan_szt on 2/3/2025 in #help
I don't understand why the keyword `with` is not working.
Nope.. this is not solving the issue..
7 replies
DTDrizzle Team
Created by Alan_szt on 2/3/2025 in #help
I don't understand why the keyword `with` is not working.
No description
7 replies
TtRPC
Created by Alan_szt on 7/18/2024 in #❓-help
How to get access to the types generated by the server in the frontend (React)?
3 replies
TtRPC
Created by Alan_szt on 7/18/2024 in #❓-help
How to get access to the types generated by the server in the frontend (React)?
I found this. is it the good approach?
import type { AppRouter } from "../../../server";
import type { inferRouterOutputs } from "@trpc/server";

export type RouterOutputs = inferRouterOutputs<AppRouter>;

type Props = {
onSuccess: (data: RouterOutputs["createWorker"]) => void;
};
import type { AppRouter } from "../../../server";
import type { inferRouterOutputs } from "@trpc/server";

export type RouterOutputs = inferRouterOutputs<AppRouter>;

type Props = {
onSuccess: (data: RouterOutputs["createWorker"]) => void;
};
3 replies