fotoflo
fotoflo
Explore posts from servers
PPrisma
Created by fotoflo on 6/4/2024 in #help-and-questions
db push and migrate dev
?
9 replies
PPrisma
Created by fotoflo on 6/4/2024 in #help-and-questions
db push and migrate dev
with prisma migrate deploy? @RaphaelEtim but it doesnt work cause you have to migrate dev first
9 replies
PPrisma
Created by fotoflo on 6/4/2024 in #help-and-questions
db push and migrate dev
id prefer to keep my local data as well and also see it working instead of just pray
9 replies
PPrisma
Created by fotoflo on 6/4/2024 in #help-and-questions
db push and migrate dev
thank you
9 replies
PPrisma
Created by fotoflo on 6/4/2024 in #help-and-questions
db push and migrate dev
hi @RaphaelEtim thanks, can i do it on local to ?
9 replies
TTCTheo's Typesafe Cult
Created by canastro on 5/6/2024 in #questions
T3 - pass current tenant slug into TRPC context
I use a currentTeamId and currentTeamSlug in addition to teams[] - especially when logging to anlaytics
14 replies
TTCTheo's Typesafe Cult
Created by canastro on 5/6/2024 in #questions
T3 - pass current tenant slug into TRPC context
👍
14 replies
TTCTheo's Typesafe Cult
Created by GabrielDSFS on 5/8/2024 in #questions
How to make a fully public page with TRPC requests on T3?
did you use a public procedure?
11 replies
TTCTheo's Typesafe Cult
Created by GabrielDSFS on 5/8/2024 in #questions
How to make a fully public page with TRPC requests on T3?
code?
11 replies
TTCTheo's Typesafe Cult
Created by fotoflo on 5/9/2024 in #questions
TRPC not returning immediately on error
i tried setting retry to false
5 replies
TTCTheo's Typesafe Cult
Created by fotoflo on 5/9/2024 in #questions
TRPC not returning immediately on error
No description
5 replies
TTCTheo's Typesafe Cult
Created by fotoflo on 5/8/2024 in #questions
NextJs not picking up my ENV vars - no changes made
Better summary - Hi guys, im using t3 and next 14. t3 stack also has a function where it uses Zod and validates the envirenment variables and moves them to a const called env. I can get it like this: import { env } from "./src/env/server.mjs"; It works. Now in my next.config.mjs i print out a few key properties from the aforementioned env, that works too. I've been working on this app for quite some time - it's in production and running well, making small change... Today i was working on some totally unrelated client side code, and restarted my dev box and the app runs and the prints out the enviment variables as usual from the next.config.mjs, but then it throws a big zod error that all the of the envirnment variables are missing. I stashed any changes, but there's nothing related to that. I pulled the most recent commit from my dev branch to a new directory and pulled the env and reinstalled the deps and the app worked... And then an hour later, the same error popped up again! Anyone seen anything like this before?
7 replies
TTCTheo's Typesafe Cult
Created by fotoflo on 5/8/2024 in #questions
NextJs not picking up my ENV vars - no changes made
fresh application install
7 replies
TTCTheo's Typesafe Cult
Created by fotoflo on 5/8/2024 in #questions
NextJs not picking up my ENV vars - no changes made
And then i walked away from the dev box for a bit, and came back and it stopped working again! Same error
7 replies
TTCTheo's Typesafe Cult
Created by canastro on 5/6/2024 in #questions
T3 - pass current tenant slug into TRPC context
what about a spoof?
14 replies
TTCTheo's Typesafe Cult
Created by fotoflo on 5/8/2024 in #questions
NextJs not picking up my ENV vars - no changes made
well i did the only sensible thing - deleted the folder and resinstalled it and it worked
7 replies
TTCTheo's Typesafe Cult
Created by fotoflo on 5/8/2024 in #questions
NextJs not picking up my ENV vars - no changes made
✅ Valid environment variables on server - undefined
7 replies
TTCTheo's Typesafe Cult
Created by canastro on 5/6/2024 in #questions
T3 - pass current tenant slug into TRPC context
i use the session object, since it's called all the time and i don't want to make additional API calls for each request - using session/cookies doesn't mean that a user can't use different "tenants" in separate tabs? - maybe, it hasn't been a requirement i've faced - LMK how you do it
14 replies