KinKon
CCConvex Community
•Created by KinKon on 1/9/2024 in #support-community
What is the right approach when updating the user object for an app that integrates Clerk for auth?
Thanks!
12 replies
CCConvex Community
•Created by Rodrigo-R on 6/17/2024 in #support-community
PDF Parsing - actions and mutations
Awesome glad it works
11 replies
CCConvex Community
•Created by Rodrigo-R on 6/17/2024 in #support-community
PDF Parsing - actions and mutations
Not sure. I built this as a proof of concept so I didn't run any tests
11 replies
CCConvex Community
•Created by Rodrigo-R on 6/17/2024 in #support-community
PDF Parsing - actions and mutations
I had a similar use a month ago. Maybe this can help. https://github.com/konradhy/casefold/blob/main/convex/ingest/extract.ts
11 replies
CCConvex Community
•Created by KinKon on 2/17/2024 in #support-community
Querying for Specific IDs within an Array Field Using Indexes(or otherwise) in Convex
Thanks @Michal Srb reading this helped me realize that there is a better approach
3 replies
CCConvex Community
•Created by KinKon on 2/12/2024 in #support-community
Issues accessing convex
Restarting my computer solved all the aforementioned issues. So my issue has been resolved. I'm still curious what lead to this behaviour. I want to think it is a memory issue on my device masquerading as a connection issue
7 replies
CCConvex Community
•Created by KinKon on 2/12/2024 in #support-community
Issues accessing convex
Update: I tried accessing same from another device on the same network. And I had no issue. It looks like the issue has to do with my personal client
7 replies
CCConvex Community
•Created by KinKon on 2/12/2024 in #support-community
Issues accessing convex
7 replies
CCConvex Community
•Created by KinKon on 2/7/2024 in #support-community
Querying Multiple Documents by IDs in Convex
Thanks for helping me debug Ian. It turns out I was relying on data that became corrupt days ago. My best guess is that extra 'e' was manually added from the dashboard, probably at a time where the field accepted strings as opposed to Ids. I didn't catch it because once I noticed the last character was different I assumed they were unique.
When I call normalizeId with
kd79kcvw4qyp9maw6yet8qv7yd6jw42be
I do indeed get back kd79kcvw4qyp9maw6yet8qv7yd6jw42b
. Same if I switch the trailing 'e' to 'a'. The moment I add more than one extra character I get back null9 replies
CCConvex Community
•Created by KinKon on 2/7/2024 in #support-community
Querying Multiple Documents by IDs in Convex
Actually I think I spoke to soon. I realize now that even though I'm providing different IDs, I'm actually getting back multiple results of the same Doc
My code looks something like this
Meanwhile the logs show that we are getting the same document back, multiple times
9 replies
CCConvex Community
•Created by KinKon on 2/7/2024 in #support-community
Querying Multiple Documents by IDs in Convex
I got it implemented.
9 replies
CCConvex Community
•Created by KinKon on 2/7/2024 in #support-community
Querying Multiple Documents by IDs in Convex
Thanks for the info. This should work my use case. I'm going to give it a proper review and try to implement it
9 replies
CCConvex Community
•Created by KinKon on 2/5/2024 in #support-community
Typescript pattern for handling URL search param as a specific ID Type
Thank you. That was going to be my follow up question, i.e. how to ensure that the string is indeed an Id. ctx.db.normalizeId works well for my usecase
5 replies
CCConvex Community
•Created by KinKon on 2/5/2024 in #support-community
Typescript pattern for handling URL search param as a specific ID Type
Thanks! Yes, it would be helpful to add it the typescript doc page.
5 replies
CCConvex Community
•Created by KinKon on 1/9/2024 in #support-community
What is the right approach when updating the user object for an app that integrates Clerk for auth?
Thank you for this Ian
12 replies
CCConvex Community
•Created by KinKon on 12/29/2023 in #support-community
Is there a convenient way to get the updated document after using the db.patch method?
Thanks for the explanation
8 replies
CCConvex Community
•Created by KinKon on 12/29/2023 in #support-community
Is there a convenient way to get the updated document after using the db.patch method?
Okay thanks Jamie, appreciated
8 replies
CCConvex Community
•Created by KinKon on 12/7/2023 in #support-community
Using Actions, Mutations, and Helpers in Convex for OpenAI Integration
Yes, that's essentially what I have in mind re the helper function, along with some conditional logic and spam filtration
6 replies
CCConvex Community
•Created by KinKon on 12/7/2023 in #support-community
Using Actions, Mutations, and Helpers in Convex for OpenAI Integration
Thanks Jamie
6 replies