Paul
Paul
CCConvex Community
Created by Paul on 2/26/2025 in #support-community
watching a custom endpoint, rather than an api endpoint
I have a pretty complex endpoint in prisma. It's almost 500 lines of code and multiple queries. Is the standard practice to just dump this code into a file with all the other queries/mutations within the convex folder? Or is it possible to have some organisation and watch an endpoint instead? Thanks
38 replies
CCConvex Community
Created by Paul on 2/25/2025 in #support-community
Need some suggestions about the DX
I'm probably in the minority here. But the DX for convex isn't awesome for bigger projects.
I'm coming from prisma and being able to do something like:
await prisma.damFile.update({
where: {
id: fileId,
},
data: {
metaData: JSON.stringify(tags),
},
});
await prisma.damFile.update({
where: {
id: fileId,
},
data: {
metaData: JSON.stringify(tags),
},
});
Anywhere in my codebase, for any table, with any filtering and any data and any methods is just liberating. I also don't need to think about any centralisation. Compared to convex when I do have to think about this stuff.
And when I have encore, restate, rust, and a monorepo with multiple packages and domains all needing their own data accessibility. Now needing a centralised base. And with a codebase that's going to grow significantly bigger (when I get this poc done). I'm starting to grumble. 😩 Unfortunately I couldn't get convex-ents to work. But now it's in maintenance mode so that's moot. https://discord.com/channels/1019350475847499849/1230233206893314111/1230233206893314111 Is there anything that's coming down the pike that is a departure from the status quo? I love Convex due to it being rust and fitting nicely into my stack. But now I'm struggling due to the DX and getting it to fit in my codebase. Any thoughts welcome! 😄 Thanks!
6 replies
CCConvex Community
Created by Paul on 2/24/2025 in #support-community
How to have multiple schemas
No description
14 replies
CCConvex Community
Created by Paul on 2/12/2025 in #support-community
Could not find public function
No description
11 replies
CCConvex Community
Created by Paul on 1/20/2025 in #support-community
Can't build source using a mac
mac 15.2 node 18.10 npm: 8.19.2 latest rust latest pnpm instructions:
1) git clone https://github.com/get-convex/convex-backend
2) npm clean-install --prefix scripts
3) run cargo run -p local_backend --bin convex-local-backend
1) git clone https://github.com/get-convex/convex-backend
2) npm clean-install --prefix scripts
3) run cargo run -p local_backend --bin convex-local-backend
Getting:
error: failed to run custom build command for `isolate v0.1.0 (/Users/paul/development/src/github/convex-backend/crates/isolate)`

Caused by:
process didn't exit successfully: `/Users/paul/development/src/github/convex-backend/target/debug/build/isolate-d9f57c602cb54e55/build-script-build` (exit status: 1)
error: failed to run custom build command for `isolate v0.1.0 (/Users/paul/development/src/github/convex-backend/crates/isolate)`

Caused by:
process didn't exit successfully: `/Users/paul/development/src/github/convex-backend/target/debug/build/isolate-d9f57c602cb54e55/build-script-build` (exit status: 1)
Similar to: https://github.com/get-convex/convex-backend/issues/7 but that is windows machine.
58 replies