helping Delveroff
Hi! Could somebody help me? I need to call internal queries/mutations remotely. I use Next.js and SSR. I would like to
fetchQuery(internal.tasks.list)
. But it doesn't work. I want to make queries internal so I don't validate the input parameters (I want to do it elsewhere).
Supabase, i.e., provides us with two keys: default and anon. Anon is for public API. Default is for private use....TS Project References and Convex for big codebases
Just started taking a look at TS Project References, this caught my attention "can greatly improve the speed of typechecking and compiling, reduce memory usage when using an editor, and improve enforcement of the logical groupings of your program." just what im looking for, as our fairly big codebase is starting to bring TS to its knees, at least it feels that way.
Does anyone have any experiences using it in a monorepo setup, like convex as a library and some client side apps referencing that convex lib?
I'm very keen to start a thread on this, as it seems none exists already 👀...
Why does ctx.auth.getUserIdentity() does
Why does ctx.auth.getUserIdentity() does not work inside internal mutation?
I don't understand this design decision
I don't understand this design decision to chop off the last digits on the
_id
-field in the dashboard. Is it intentional?Batch insertions
Hey guys, quick question - whats the best way to bulk insert documents? Im scheduling a function to run every morning that hits an api that grabs pricing on about 19k documents & have a table to store the price for that day (looking to make a historical pricing for my app)
Wondering tho what is the best way to go about it.. i have internal mutations that add one doc and currently looping over all the data batched at 250 each, and using the convex-helpers
asyncMap
like so:
```...Convex Auth: Cannot read properties of undefined (reading 'length')
Hey all, does any one know how to fix that error
Food app notifications help
I want my users to be able to receive notifications and alerts whenever an order is ready or the delivery person is nearby.....how can i do this for a web based project with either Next.js or Tanstack Start
Rust-based Auth
Out of interest. Seeing convex is rust based. Why wasn't there a native rust implementation of auth? 🤔 I suppose the choice to go with auth.js is that there are more important things to do first?
Convex YouTube Tutorials
Could someone please point me to a YouTube project/tutorial that demonstrates a complex use of Convex and advanced features like roles, notifications etc ? Would love to learn more, thank you!
Hii, I'm building a idea collaboration
Hii, I'm building a idea collaboration platform for my university and it's been reallyy smooth with Convex, thank you. On the home page, I want to show updates happening on another page (if someone has shown interest in idea/accepted as a team member etc etc). ChatGPT says to make a new table for updates and query it on homepage & show notification icon (with badges) accordingly. Is this the right way to go ?
preventing abuse of user-configurable fetches
Is there a general way of combatting stuff like that when providing the option of user-configurable outbound web-traffic?
Convex Auth + OAuth + Tauri
I'm hoping to integrate Convex into a desktop app I'm building with Tauri, so it has a frontend written in React but bundled with a rust foundation that manages the webview. I would love to also be able to use Convex Auth, it looks so simple and elegant, but I need to have OAuth support. The problem is that, it being a bundled desktop app and not a web app, it doesn't have an address so I can't redirect in-place and then provide a URL to navigate back to the app. I have a working OAuth flow that...
mutation / action calling
Suppose I have a
mutation
that depends on external API's and in a convex function that mutation calls two actions does convex combine these into a single sql
like query result before returning the result of the mutation or are the actions ran in there own transaction state?Hey folks,
Hey folks,
We're looking into an issue where folks with > 5MB of code currently cannot push new code via
npx convex dev
or npx convex deploy
. We are looking into it. I'll update in this thread....deployment env
Do convex functions respect
process.env.NODE_ENV === 'development'
in node? I would like to have different logic for my production and development inside of my functions environment.AI Town
ai town is awesome would you guys be open to launching it there is a huge group of people who would love to use it
The Zen of Convex states:
The Zen of Convex states:
In general, your mutations and queries should be working with less than a few hundred records and should aim to finish in less than 100ms.Now I'm assuming having (way, way) more data is fine, as long as indexes are used to quickly narrow down query results. I think what this statement means to say is that any additional filtering should ideally involve fewer than 100 documents. Is that the right interpretation? The wording here is slightly confusing, at least to me...