willm
willm
Explore posts from servers
RRailway
Created by willm on 10/5/2023 in #✋|help
Confusion regarding environments and databases
thanks for explaining though
11 replies
RRailway
Created by willm on 10/5/2023 in #✋|help
Confusion regarding environments and databases
hm ok, seems to just add confusion
11 replies
RRailway
Created by willm on 10/5/2023 in #✋|help
Confusion regarding environments and databases
even after changing it
11 replies
RRailway
Created by willm on 10/5/2023 in #✋|help
Confusion regarding environments and databases
but it's still the same for each
11 replies
RRailway
Created by willm on 10/5/2023 in #✋|help
Confusion regarding environments and databases
thanks, seems odd that the name is the same
11 replies
RRailway
Created by willm on 10/5/2023 in #✋|help
Confusion regarding environments and databases
N/A
11 replies
TTCTheo's Typesafe Cult
Created by willm on 10/5/2023 in #questions
env.t3.gg app directory
so I could have env.mjs in my root dir?
8 replies
TTCTheo's Typesafe Cult
Created by willm on 10/5/2023 in #questions
env.t3.gg app directory
ah you can just move app/ into a new src/ directory? New to nextjs so I didn't know that
8 replies
TTCTheo's Typesafe Cult
Created by willm on 10/3/2023 in #questions
Invalid environment
I think it's because I had a typo in runtimeEnv though I'm not sure
3 replies
TTCTheo's Typesafe Cult
Created by willm on 10/3/2023 in #questions
Invalid environment
My other environment variables are working well, just adding a new one that's not in the example code is failing
3 replies
TTCTheo's Typesafe Cult
Created by Lopen on 6/5/2023 in #questions
drizzle orm is overhyped
🤡
68 replies
TTCTheo's Typesafe Cult
Created by T on 5/26/2023 in #questions
What user info do I store in my database???
Haven't used clerk but you're probably safer keeping the clerk stuff in clerk and using their API. If, in the future, when the flow of data in your application is more clear, you could always write a script to put all that clerk stuff into the db
4 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/2/2023 in #questions
'Files' is possibly null
Supabase has a discord
5 replies
TTCTheo's Typesafe Cult
Created by willm on 4/29/2023 in #questions
TRPC Middleware
Found a solution:
import { type CreateNextContextOptions } from "@trpc/server/adapters/next";

// ...

export const createTRPCContext = (opts: CreateNextContextOptions) => {
const { req } = opts;

return {
...createInnerTRPCContext({}),
req,
};
};
import { type CreateNextContextOptions } from "@trpc/server/adapters/next";

// ...

export const createTRPCContext = (opts: CreateNextContextOptions) => {
const { req } = opts;

return {
...createInnerTRPCContext({}),
req,
};
};
2 replies
TTCTheo's Typesafe Cult
Created by willm on 4/26/2023 in #questions
Vercel deployment error
ah I see - "When ESLint is detected in your project, Next.js fails your production build (next build) when errors are present."
14 replies
TTCTheo's Typesafe Cult
Created by willm on 4/26/2023 in #questions
Vercel deployment error
Does it not deploy if the linter is angry at some things? All it shows are linter warnings
14 replies