Antoine
Antoine
Explore posts from servers
CCConvex Community
Created by Antoine on 10/15/2024 in #support-community
Convex auth
Hey guys, I wanted to switch to convex auth using OTP, and I have a type error in here: Object literal may only specify known properties, and 'id' does not exist in type 'EmailUserConfig<GenericDataModel> & Pick<EmailConfig<GenericDataModel>, "sendVerificationRequest">'
4 replies
CCConvex Community
Created by Antoine on 10/14/2024 in #support-community
Struggling using convex mutations
Ok I just tried and it is not working for any of the mutations. Even with the old code I had. What issue could it be ? Could it be on your side ? Or maybe because I use an external auth provider and didn't configure it well
21 replies
CCConvex Community
Created by Antoine on 10/14/2024 in #support-community
Struggling using convex mutations
ok I will try that
21 replies
CCConvex Community
Created by Antoine on 10/14/2024 in #support-community
Struggling using convex mutations
the front end component calling the mutation create logs but when it should call the convex function it seem to just stop: no log from convex (convex dashboard or website) and no log from my app either
21 replies
CCConvex Community
Created by Antoine on 10/14/2024 in #support-community
Struggling using convex mutations
my package.json if it helps
21 replies
CCConvex Community
Created by Antoine on 10/14/2024 in #support-community
Struggling using convex mutations
my version: "@convex-dev/react-query": "^0.0.0-alpha.5",
21 replies
CCConvex Community
Created by Antoine on 10/14/2024 in #support-community
Struggling using convex mutations
ok so maybe I don't have the right version and it explain why the new way is not working for me ?
21 replies
CCConvex Community
Created by Antoine on 10/14/2024 in #support-community
Struggling using convex mutations
the most important files too look are the 3) & 4), as it is the real use case of my app. And as you see I think I did a code pretty close to the documentation
21 replies
CCConvex Community
Created by Antoine on 10/14/2024 in #support-community
Struggling using convex mutations
that is also confusing me. To be honest, the 2) is a file created by an AI that knew my repository to create false data on convex from a mocked_data.ts and the way it work is weird. So I'm lost too, I don't understand why the code I have that doesn't look like the documentation is working when the code I have that look exactly like the documentation does not work
21 replies
CCConvex Community
Created by Antoine on 10/14/2024 in #support-community
Struggling using convex mutations
4) the modal helper calling the client mutation (not working)
21 replies
CCConvex Community
Created by Antoine on 10/14/2024 in #support-community
Struggling using convex mutations
3) the function inside mutation.ts that I try to call inside the admin dashboard: export const createClient = mutation({ args: { name: v.string() }, handler: async (ctx, { name }) => { console.log('Creating client with args:', name) try { const clientId = await ctx.db.insert('clients', { name: name, }) console.log('Client created with ID:', clientId) return clientId } catch (error) { console.error('Error in createClient mutation:', error) throw new Error(Failed to create client: ${error}) } }, })
21 replies
CCConvex Community
Created by Antoine on 10/14/2024 in #support-community
Struggling using convex mutations
21 replies
CCConvex Community
Created by Antoine on 10/14/2024 in #support-community
Struggling using convex mutations
Hey, thanks for for trying to help me. this is the files: 1) the api file from /convex used on the dev dashboard to create false data 2) the component using it (and it is working)
21 replies
KKinde
Created by Antoine on 9/16/2024 in #💻┃support
Custom domain on localhost
it specifies to do what I was doing. But it is not possible
5 replies
KKinde
Created by Antoine on 9/16/2024 in #💻┃support
Custom domain on localhost
I looked at the documentation and I still don't know what I should do
5 replies
KKinde
Created by Antoine on 9/16/2024 in #💻┃support
Custom domain on localhost
No description
5 replies