Convex Open Source and Internals
Hi, is convex main codebase open source?, in which language is it built and what database does it use under ther hood?
getUserIdentity returning null
Hi everyone, I really like Convex, but I have a bug. I am using the ctx.auth.getUserIdentity() method to get user information. Everything is fine until I decide to refresh the page. If I refresh the page, ctx.auth.getUserIdentity() returns null, even though the user is definitely authorised. Is this how it should be or is it a bug?
Aggregating sums
Hi, I'm new here. Have a question regarding how aggregation is handled.
Suppose I have a large number of transactions, and I would like to maintain the sum of all transactions (say expenses).
Does convex handle this in a way that may run into the limits (e.g. each update may require scanning the entire history), or does it automatically recongize that for a new transaction, it can simply add to the last snapshot?
Also, if I added the functionality for aggregation after there are already some transactions, will convex help to ensure that the data is correctly backfilled?...
truncating search queries
Okay. Would be cool if it just truncated, failing leaves validation to the user (which is not a huge deal for the user, to be fair). But would be cool if it truncated (and maybe logged a warning).
Serving file storage
Hello, I wanted to ask how files are served by the Convex file storage service. Are they sent as Blobs to frontend frameworks? Could you clarify this detail to help me build an application that relies on File Storage?
Could you tag me to get the notification of the answer? Thanks in advance!...
Convex features for hackathon
I also need to know more about convex and how to utilize its features. Currently going through the docs
Allen Hartwig 🥜 on LinkedIn: Nut Tree w...
@allen thanks so much for the kind words! right now in Convex's stage, nothing matters more than you all talking about Convex if you feel it's authentically a good platform and team. so we can't overstate how much sharing enthusiasm with the rest of the web matters for us. ( https://www.linkedin.com/posts/allenhartwig_nut-tree-went-from-idea-to-market-in-under-activity-7154155376106459136-36e_?utm_source=share&utm_medium=member_desktop )
Want branded strings or more specific
Want branded strings or more specific types?
I just realized this just works:
```...
I didn't see this configuration, so I
I didn't see this configuration, so I assume Convex does not currently support it, but would be great if I could configure custom domains that I own to point to production and dev envs, would cut out one more dependency from my stack 🙏
preloadPaginatedQuery
So, I'm looking at the new preloadQuery. I think it is really great 🙂 But I'm missing one thing: Can we also have a preloadPaginatedQuery? Ideally I would preload the first results in the server component and then on the client can just trigger
loadMore
when necessary.Enum validation
like this ?
...
EventType: v.union(v.literal(EventType.AdoptionEvent), v.literal(EventType.Fundraising), v.literal(EventType.Awareness)),
EventType: v.union(v.literal(EventType.AdoptionEvent), v.literal(EventType.Fundraising), v.literal(EventType.Awareness)),
General questions
👋 Hey folks, amazing project! A few random questions
1. Is anyone aware of any projects to use LLMs to generate convex apps?
2. Is the convex dashboard built using convex? (super impressive if so!)
3. What's the "recommended" way of using convex in the react ecosystem? Do most people use a vanilla react app or use next.js (e.g. so they can use app router for the high level pages of the app)...
Go client
Sup guys - I have bunch of microservices in go and I would like them to talk to convex data stores. I saw on the client libraries there's no Go based yet. So will Go eventually gets its own convex library in the future?
As of now, the only way for my microservices to communicate with convex is via HTTP API only right?...
Convex hosting region
Hey Convex! Where is the region of the database currently hosted? Also, is there any plan to make the data hosted on Asia region?
Doc validator
How would I specify a doc type for the argument validator of a convex action? E.g. something along the lines of
```
args: {
item: v.object(Doc("items"))
}...
@jamwtIn the Custom Auth docs, is the
@JamieIn the Custom Auth docs, is the Server Side the important part? Because it feels like the Client side is tightly geared to React still which seems to defeat the purpose of custom auth. Can you add some clarification here because I've gotten custom auth working on the server side but what I and lots of other people seem to run into is that no auth platform have the same approach, and so is I'm already tied to say Svelte, but I want to use WorkOS, that Custom Auth is great for my use case.
DnD Videos/Apps
🎥 Two cool new videos out featuring Convex! Hosted by Jason Lengstorf (https://www.learnwithjason.dev/) and featuring @Web Dev Cody , @Anjana , and @Tom. The four of them each built an app inside a Dungeons and Dragons universe, providing some service for the adventurers. Group video here on Jason's channel: https://www.youtube.com/watch?v=UAjcJPMexfk . Cody's breakdown of how he built his own project: https://www.youtube.com/watch?v=tiBD2Lar5mc