Chad Maycumber
CCConvex Community
•Created by Chad Maycumber on 12/4/2023 in #support-community
Any problems with HIPAA compliance?
Our startup recently moved into the healthcare space and we're getting asked a lot of questions regarding HIPAA compliance. We just started the process of getting HIPAA certified ourselves, I'm just wondering if there's other convex customers who are HIPAA certified and if there were any pitfalls/things we should know about specifically related to convex.
As I understand it; it mainly falls on us but I figured I would ask just in case there's any insights that can be gleaned.
1 replies
CCConvex Community
•Created by Chad Maycumber on 11/2/2023 in #support-community
Help with an edge case
I currently have an action which calls other mutations. In this scenario; we're trying to create an AI chat. I'm running into a scenario where the users message is created inside of the chat action before the AI's chat message.
On the first chat the frontend doesn't update until the action fully completes leading the frontend to update with the user message, and AI chat at the same time.
After the first message subsequent chats work as expected where the users message is created, updated on the frontend and then the AI chat message is updated and streamed in.
Any help with understanding what I might be doing wrong would be great!
17 replies
CCConvex Community
•Created by Chad Maycumber on 10/8/2023 in #support-community
Any recommendations on event driven system design?
I'm thinking about creating a table with "events" then having a server that listens over to the websocket for table updates. Would this approach be alright?
5 replies
CCConvex Community
•Created by Chad Maycumber on 8/9/2023 in #support-community
What's the max payload side for an action, mutation, etc.
Trying to currently determine the best way to store really long documents within convex (currently paginating their content for dispalying them). Now how do I save these really long form documents is there a recommended approach/limitations that may be helpful to be aware of?
8 replies
CCConvex Community
•Created by Chad Maycumber on 8/6/2023 in #support-community
Break schema into multiple files
Can you break the schemas into multiple files? So for example a schema folder that exports the schema's defined in an index file? I figure I can probably accomplish something similar with a schemas folder that imports schemas into the schema.ts file.
6 replies
CCConvex Community
•Created by Chad Maycumber on 7/23/2023 in #support-community
"Failed to authenticate: \"Token expired\", check your server auth config" using Clerk
I'm running into the above error for my users leveraging the recommended authentication approach with Clerk. Any ideas?
15 replies
CCConvex Community
•Created by Chad Maycumber on 7/19/2023 in #support-community
Handling race conditions when "deleting" or modifying documents
We're running into a problem where we have a delete mutation that is fired twice if a user rapidly hits the button causing convex to throw an error.
Is there a recommended approach for handling situations like this?
8 replies
CCConvex Community
•Created by Chad Maycumber on 7/19/2023 in #support-community
Migration helpers seem to be outdated
Trying to run a few migrations and am running into "Uncaught Error: migrations:aiOwners is not a functionReference" I assume from the changes with some of the recent updates
8 replies
CCConvex Community
•Created by Chad Maycumber on 7/19/2023 in #support-community
Running convex run in a CI environment
Can I run
convex run
in a CI environment without logging in? Maybe there's a way to expose an auth token here?
The reason for this is running my migrations when the convex funcitons successfully deploy13 replies
CCConvex Community
•Created by Chad Maycumber on 7/13/2023 in #support-community
Add specific project access for developers
Hi all, I'd currently like a way to configure the access to specific projects for certain members of the team. Is this currently possible?
I'm creating a production,staging, and development project. All developers should have access to staging and development but not all developers should be given full access to production
4 replies
CCConvex Community
•Created by Chad Maycumber on 7/10/2023 in #support-community
Creating additional project for staging
Hey I'm currently trying to create an additional project for a staging env.
You can't create it from the dashboard. Should I just check out my staging branch and re-create the project from the CLI?
3 replies
CCConvex Community
•Created by Chad Maycumber on 7/10/2023 in #support-community
Shared environment variables
It would be really helpful if environment variables could be shared across developers inside an organization. So that when new variables are added the backend environment is always up to date.
13 replies
CCConvex Community
•Created by Chad Maycumber on 6/28/2023 in #support-community
On premise solution
Hey as in the title is this something that could be potentially offered or thoughts on?
We need an on premise solution for a few potential large customers of ours but love use convex cloud. I’d prefer to use convex but may need to switch databases for the on prem solution, but definitely don’t prefer this.
11 replies
CCConvex Community
•Created by Chad Maycumber on 6/25/2023 in #support-community
Good way to get a return type?
What's the best way in typescript to grab the return type from a query with Convex 17+?
6 replies
CCConvex Community
•Created by Chad Maycumber on 6/23/2023 in #support-community
Latest version of Clerk creating issues with convex clerk provider
.../node_modules/convex/dist/esm/react-clerk/ConvexProviderWithClerk.js:2
@astria/next:dev: import { useAuth } from "@clerk/clerk-react";
@astria/next:dev: ^^^^^^^
@astria/next:dev: SyntaxError: Named export 'useAuth' not found. The requested module '@clerk/clerk-react' is a CommonJS module, which may not support all module.exports as named exports.
I'm running into the following error after updating clerk. I can downgrade in the meantime but wanted to see if there's a potential solution here.
11 replies
CCConvex Community
•Created by Chad Maycumber on 6/23/2023 in #support-community
✖ You don't have access to the project with deployment
I keep getting this error message after updating forcing me re-init and existing project whenever I run
npx convex dev
any ideas?4 replies
CCConvex Community
•Created by Chad Maycumber on 6/21/2023 in #support-community
OpenAPI Spec Generation
Would it be possible to automatically generate an OpenAPI spec for the application? I think this would be a cool feature if we need to expose developer facing API's.
6 replies
CCConvex Community
•Created by Chad Maycumber on 6/19/2023 in #support-community
Convex 17.0 Recommendation on moving over typed middleware functions
I wondering if there's any recommendations on updating typed middleware for handlers. Or some guidance here would be great!
6 replies
CCConvex Community
•Created by Chad Maycumber on 6/8/2023 in #support-community
Codegen types for the python client?
This may be a crazy request and I'm new to python so I don't even know if this is impossible or very difficult. But I'm using Python on some parts of our backend that require some of the data/ML heavy logic. I'm curious if it'd be possible to get the types from convex into my python backend.
17 replies
CCConvex Community
•Created by Chad Maycumber on 6/7/2023 in #support-community
When Clerk token expires, errors thrown on client
I have a basic middleware component that checks for a users status, and throws an error if the identity for the user isn't found modeled off the Authentication docs.
When a token expires on the frontend this throws an error when a query is made. Which is triggering my error boundary, is there potentially a way to redirect the user or catch this before the query is made or a recommended best approach for handling this? I'm thinking maybe check the user isLoggedIn status for clerk at the top of my app.
3 replies