Jonathan
Jonathan
Explore posts from servers
PPrisma
Created by angelplusultra on 6/11/2024 in #help-and-questions
PrismaClientInitializationError
Did you find a solution?
4 replies
TtRPC
Created by Jonathan on 2/21/2025 in #❓-help
Where did useUtils go?
I have
export const { useTRPC, TRPCProvider } = createTRPCContext<AppRouter>();

const trpc = useTRPC();
const utils = trpc.useUtils();
export const { useTRPC, TRPCProvider } = createTRPCContext<AppRouter>();

const trpc = useTRPC();
const utils = trpc.useUtils();
I have tried looking at the return of the createTRPCContext and it is not there , it is coming from the import
import { createTRPCContext } from "@trpc/tanstack-react-query";
import { createTRPCContext } from "@trpc/tanstack-react-query";
8 replies
TtRPC
Created by Jonathan on 2/21/2025 in #❓-help
Where did useUtils go?
yeah it is missing for me
8 replies
TtRPC
Created by Jonathan on 2/21/2025 in #❓-help
Where did useUtils go?
yeah that is what i thought too, it wasnt showing up. Let me try again
8 replies
TtRPC
Created by Jonathan on 2/21/2025 in #❓-help
Where did useUtils go?
I am using these versions
"@tanstack/react-query": ^5.66.5
"@trpc/client": ^11.0.0-rc.772
"@trpc/tanstack-react-query": ^11.0.0-rc.772
"@trpc/server": ^11.0.0-rc.772
"@tanstack/react-query": ^5.66.5
"@trpc/client": ^11.0.0-rc.772
"@trpc/tanstack-react-query": ^11.0.0-rc.772
"@trpc/server": ^11.0.0-rc.772
8 replies
TtRPC
Created by MichaelJC91 on 10/21/2024 in #❓-help
React app not inferring trpc client correctly
did the most recent versions start working for you?
20 replies
TtRPC
Created by Jonathan on 1/24/2025 in #❓-help
How to Test TRPC
It also says 'createCaller' is deprecated.
4 replies
PPrisma
Created by Jonathan on 1/23/2025 in #help-and-questions
Using Prisma with Azure SQL Hyperscale
#ask-ai
4 replies
PPrisma
Created by Jonathan on 12/14/2024 in #help-and-questions
db Pull not pulling schemas
Looks like I apparently commented on it back in 2023 also
5 replies
PPrisma
Created by Jonathan on 12/14/2024 in #help-and-questions
db Pull not pulling schemas
If I remove a few it will pull them but are there some limits or output that I can see why it is skipping some
5 replies
RRefine
Created by sensitive-blue on 10/26/2024 in #ask-any-question
Getting this whenever running npm run dev
Running to setup a new project with
npm create refine-app@latest
npm create refine-app@latest
Doing vite and rest api.
12 replies
RRefine
Created by afraid-scarlet on 10/26/2024 in #ask-any-question
Getting this whenever running npm run dev
I am getting the same thing also
12 replies
DDeno
Created by Jonathan on 10/16/2024 in #help
Setting up Deno 2.0 with Fresh and TypeORM
😦
4 replies
DDeno
Created by Jonathan on 10/16/2024 in #help
Setting up Deno 2.0 with Fresh and TypeORM
It looks like Deno doesn't work with SQL Azure https://github.com/denoland/deno/issues/20594
4 replies
DDeno
Created by Jonathan on 10/16/2024 in #help
Setting up Deno 2.0 with Fresh and TypeORM
I updated my data.ts to
import { DataSource } from "npm:typeorm";
import { User } from "../entity/user.model.ts";
import * as mssql from "npm:mssql";
import * as reflectMetadata from "npm:reflect-metadata";
const dataSource = new DataSource({
type: "mssql",
url: Deno.env.get("DATABASE_URL"),
entities: [User],
synchronize: false
});

export default dataSource;
import { DataSource } from "npm:typeorm";
import { User } from "../entity/user.model.ts";
import * as mssql from "npm:mssql";
import * as reflectMetadata from "npm:reflect-metadata";
const dataSource = new DataSource({
type: "mssql",
url: Deno.env.get("DATABASE_URL"),
entities: [User],
synchronize: false
});

export default dataSource;
And now I am getting "No metadata for User was found" yet it is specified
4 replies
RRefine
Created by quickest-silver on 9/4/2024 in #general
I have been trying to ask the ai/support
Thanks I will see what I can do on that, it may just be easier to have custom data providers
14 replies
RRefine
Created by optimistic-gold on 9/4/2024 in #general
I have been trying to ask the ai/support
I am looking at what it would take to do the transformError like you have above into something that works for supabase/postgres, I think how to transform it to an individual field
14 replies