AlphaOmega
AlphaOmega
CCConvex Community
Created by AlphaOmega on 4/5/2025 in #support-community
TS2589: Type instantiation is excessively deep and possibly infinite.
No description
15 replies
CCConvex Community
Created by AlphaOmega on 3/26/2025 in #support-community
Dev deployment is a lot faster than a production one
How come a dev deployment mutations and queries are faster than a production one, in dev it feels like a state update whereas a prod one is noticeably slower. Im using all convex standards in my functions, no ctx.run_, just old plain db interactions
6 replies
CCConvex Community
Created by AlphaOmega on 3/24/2025 in #support-community
More detailed logging on function not found
Since convex doesn’t support versioning, mobile users might get outdated query and mutations names, so if at least we could get auth data or userAgents or something.
3 replies
CCConvex Community
Created by AlphaOmega on 3/21/2025 in #support-community
Why no unions as function validators?
The title basically, its a bit annoying to have to wrap stuff in objects
14 replies
CCConvex Community
Created by AlphaOmega on 3/16/2025 in #support-community
useConvexAuth().isAuthenticated does not update even though it should on signIn after token expiry
, this happens on an expo app, where I redirect based on the isAuthenticated field status, this works great for first user sign-in, but if the user's token expires while using the app, they get redirected back to the sign-in screen ( due to the live nature of convex, useConvexAuth().isAuthenticated re renders to false) , and when they signIn again, useConvexAuth().isAuthenticated keeps returning false, a weird thing is if I close and open the app again, ( reset the socket connection ) isAuthenticated works automatically and redirects me without me having to sign in, so that sign-in attempt was successful, just isAuthenticated does not update for some reason. The token is also broken as convex handlers using getAuthUserId don’t resolve it
5 replies
CCConvex Community
Created by AlphaOmega on 2/26/2025 in #support-community
Working with datetimes in documents
How can I compare to get documents ( bookings ) set at before or after a specific time, should I save timestamps and and the timezones as separate columns, it seems very unintuitive
4 replies
CCConvex Community
Created by AlphaOmega on 2/10/2025 in #support-community
How to get request.ip inside a convex server function?
The title: This would be really nice
const {ip, userAgent} = ctx.request
const {ip, userAgent} = ctx.request
24 replies