Liltripple_reid
Liltripple_reid
Explore posts from servers
TtRPC
Created by Liltripple_reid on 3/4/2024 in #❓-help
persistedQueries & indexedDb
hey no actually didn't seem to use the indexedDB as cache bc the queries still took ~200ms and ended up using the regular no-cached paradigm on my app
6 replies
DTDrizzle Team
Created by Liltripple_reid on 10/13/2024 in #help
Unable to use `push` or `studio` anymore
after reviewing the error message I was using a .tsx extension in a file used by drizzle which somehow caused it to die
6 replies
DTDrizzle Team
Created by Liltripple_reid on 10/13/2024 in #help
Unable to use `push` or `studio` anymore
update: it wasn't
6 replies
DTDrizzle Team
Created by Liltripple_reid on 10/13/2024 in #help
Unable to use `push` or `studio` anymore
think so in that case
6 replies
DTDrizzle Team
Created by Liltripple_reid on 10/13/2024 in #help
Unable to use `push` or `studio` anymore
this is the config I've been using since the start of my project
import { type Config } from "drizzle-kit";

import { env } from "~/env";

export default {
schema: "./src/server/db/schema.ts",
dialect: "sqlite",
driver: "turso",
verbose: true,
dbCredentials: {
url: env.DATABASE_URL,
authToken: env.AUTH_TOKEN,
},
} satisfies Config;
import { type Config } from "drizzle-kit";

import { env } from "~/env";

export default {
schema: "./src/server/db/schema.ts",
dialect: "sqlite",
driver: "turso",
verbose: true,
dbCredentials: {
url: env.DATABASE_URL,
authToken: env.AUTH_TOKEN,
},
} satisfies Config;
6 replies
TTCTheo's Typesafe Cult
Created by om3r on 4/17/2024 in #questions
how to pass trpc typescript between parent and children ?
you can use the RouterOutputs of the path you're querying
7 replies