entropy
Explore posts from serversHydration error when using useQuery instead of useSuspenseQuery when prefetching
Can confirm I'm having a similar issue as well but it only happens every once in a while when I refresh. Here's a repo for reproduction:
https://github.com/Entropy-10/hydration-failed-trpc-clerk
9 replies
BABetter Auth
•Created by entropy on 2/28/2025 in #help
Dynamically setting baseURL
Thanks for the help! Sadly it does really help with my core issue but I still appreciate it.
12 replies
BABetter Auth
•Created by entropy on 2/28/2025 in #help
Dynamically setting baseURL
are there any recommendations on how to approach this?
12 replies
BABetter Auth
•Created by entropy on 2/28/2025 in #help
Dynamically setting baseURL
well I'm realize that doesn't work anyways because whenever I first called
getAuth()
(in my root layout) it then initializes the client with an empty string, since the user hasn't inputted it yet12 replies
BABetter Auth
•Created by entropy on 2/28/2025 in #help
Dynamically setting baseURL
causes
getAuth().getCookie()
and getAuth().signIn.username()
to both return a type error since they are methods the plugins add to the client.12 replies
CCConvex Community
•Created by entropy on 12/11/2024 in #support-community
Next build error when ran in github action
this is without the testing I did with pulling env vars from vercel before building
8 replies
CCConvex Community
•Created by entropy on 12/11/2024 in #support-community
Next build error when ran in github action
Here's my action as well
8 replies
CCConvex Community
•Created by entropy on 12/11/2024 in #support-community
Next build error when ran in github action
root package.json
"build": "turbo build --parallel"
next app package.json
"build": "next build"
turbo.json
8 replies
CCConvex Community
•Created by entropy on 12/11/2024 in #support-community
Next build error when ran in github action
I was trying to just build my frontend to make sure it can complete successfully as a part of my CI. For actually deploying to vercel I haven't had issues using the below build command. I assumed that maybe this issue was that the convex url was missing, but even when pulling my env vars from vercel before the build step in my CI it still throws the error above.
cd ../../packages/backend && npx convex deploy --cmd 'cd ../../apps/web && turbo run build' --cmd-url-env-var-name NEXT_PUBLIC_CONVEX_URL
8 replies
CCConvex Community
•Created by entropy on 12/3/2024 in #support-community
Calculating average rating across a large dataset
Sorry for the late reply but thanks for the suggestions! I wasn't able to figure out how to get the
[Id<'anime>, boolean]
method working so I ended up going with just do a check before inserting into the aggregate (I'm also looking into triggers). I was wondering if this was a good approach overall?
convex/lib/aggregates.ts
convex/functions/anime.ts
convex/functions/anime_entries.ts
6 replies
CCConvex Community
•Created by entropy on 11/29/2024 in #support-community
useQuery different return types
Thanks for the help!
9 replies
CCConvex Community
•Created by entropy on 11/29/2024 in #support-community
useQuery different return types
Ahh that was it. One was imported from convex/react and the other from convex-helpers/react.
9 replies
CCConvex Community
•Created by entropy on 11/29/2024 in #support-community
useQuery different return types
Sure
anime_entries.authSingleById
lists.authAll
9 replies
CCConvex Community
•Created by entropy on 11/29/2024 in #support-community
useQuery different return types
For example with entry, I want to display an error if there was a problem fetching the data. Though if there just isn't an entry yet I know to create one.
9 replies
CCConvex Community
•Created by entropy on 11/29/2024 in #support-community
useQuery different return types
Preferably it would always return the object including information on the query status.
9 replies
DTDrizzle Team
•Created by entropy on 10/11/2024 in #help
Drizzle kit push and migrate don't match typescript schema
hey!!
9 replies
DTDrizzle Team
•Created by entropy on 10/11/2024 in #help
Drizzle kit push and migrate don't match typescript schema
I just realized that.... thanks for catching my extremely dumb mistake tho!
9 replies
DTDrizzle Team
•Created by entropy on 10/11/2024 in #help
Drizzle kit push and migrate don't match typescript schema
I've already tried dropping my table, creating a new docker container on a new volume, and deleting all migrations and none of that worked
9 replies
DTDrizzle Team
•Created by entropy on 10/11/2024 in #help
Drizzle kit push and migrate don't match typescript schema
the weird part is that I can update a column type like number from integer to number and it works fine
9 replies