anmot.
CCConvex Community
•Created by anmot. on 7/24/2024 in #support-community
zod return validator in convex-helpers?
is it 0.1.74 or 0.1.74-alpha.1?
0.1.74-alpha.1 seems to be working fine.
21 replies
CCConvex Community
•Created by anmot. on 7/24/2024 in #support-community
zod return validator in convex-helpers?

21 replies
CCConvex Community
•Created by anmot. on 7/24/2024 in #support-community
zod return validator in convex-helpers?

21 replies
CCConvex Community
•Created by anmot. on 7/24/2024 in #support-community
zod return validator in convex-helpers?
Thanks Ian for supporting this.
21 replies
CCConvex Community
•Created by fugufish on 12/31/2024 in #support-community
requestId access
My plan was to use an HTTP webhook to send the data to ClickHouse. Is requestId already available in the log streams?
Regarding the approach Lee suggested - passing data using ctx, runQuery, or runMutation—would this cause the query cache to be invalidated? While the custom query accepts requestId as part of the arguments, the input function ultimately returns empty arguments in its return value.
55 replies
CCConvex Community
•Created by fugufish on 12/31/2024 in #support-community
requestId access
1. Does passing around the requestId effect query cache?
2. With this approach, if we pass the modified context (runMutation / runQuery) to action retrier, then the internal component functions fails with argument validation as they don't allow requestId.
ex: const runId = await ctx.runMutation(this.component.public.start, {
As a workaround, I tried not to add these new parameters to action retrier functions, but I'm not sure if this is the right way. Is there a better way to handle this?
3. Also as Tom mentioned, it would be great if you can expose the requestId in query / mutation and action (not in request args may be in ctx?) something similar to httpAction (request.headers.get("convex-request-id"))
55 replies
CCConvex Community
•Created by anmot. on 12/11/2024 in #support-community
Edit Panel displays previously selected document instead of current Selection
Thanks for fixing it. Looks good now.
3 replies
CCConvex Community
•Created by anmot. on 10/18/2024 in #support-community
Basic Auth for log stream webhook
Thanks for looking into this. I was using Clickhouse http interface.
https://clickhouse.com/docs/en/interfaces/http
5 replies
CCConvex Community
•Created by anmot. on 10/18/2024 in #support-community
Basic Auth for log stream webhook
Bumping up.
5 replies
CCConvex Community
•Created by anmot. on 9/6/2024 in #support-community
Convex Auth - /api/auth/ - 404 not found
Looks like trailing slash is causing the issue. Removed trailingSlash: true from the next.config.ts and it seems to be working. Thanks for looking into it.
9 replies
CCConvex Community
•Created by anmot. on 9/6/2024 in #support-community
Convex Auth - /api/auth/ - 404 not found

9 replies
CCConvex Community
•Created by anmot. on 9/6/2024 in #support-community
Convex Auth - /api/auth/ - 404 not found
Upgraded to latest versions.
path /api/auth/ does not match /api/auth
Next js app is running on 30009 replies
CCConvex Community
•Created by anmot. on 9/6/2024 in #support-community
Convex Auth - /api/auth/ - 404 not found
Getting 404, if I remove the trailing /
No logs in convex. I don't think the request is reaching convex server.
Client code:
Server auth.ts
9 replies
CCConvex Community
•Created by anmot. on 9/4/2024 in #support-community
Can we add custom domain to dev convex deployment?
Great. Thanks for considering this.
5 replies
CCConvex Community
•Created by anmot. on 9/4/2024 in #support-community
Can we add custom domain to dev convex deployment?
Thanks for looking into it. We need a webhook API that our partners can call, but in development environments, we face a challenge because we cannot provide them with a Convex site URL. Our partners require us to register using a specific company domain, which cannot be easily changed. As a result, we rely on ngrok as a workaround to expose our dev environment. However, if custom domains were supported in development deployments, it would greatly simplify the development process and improve the overall dev experience.
Is there any strong reason this is not supported in dev deployments?
5 replies
CCConvex Community
•Created by anmot. on 8/26/2024 in #support-community
Dependent queries not working with tanstack query
Thanks for looking into this. Filed an issue - https://github.com/get-convex/convex-react-query/issues/5
6 replies
CCConvex Community
•Created by anmot. on 8/2/2024 in #support-community
convexAction in @convex-dev/react-query ?
Great. Thanks for the confirmation.
9 replies
CCConvex Community
•Created by anmot. on 8/2/2024 in #support-community
convexAction in @convex-dev/react-query ?
Thanks for looking into this. This is seems to work. If someone can confirm if this is the recommended approach, that would be great. It might be worth mentioning in the docs as well.
https://docs.convex.dev/client/tanstack-query
9 replies
CCConvex Community
•Created by anmot. on 7/24/2024 in #support-community
zod return validator in convex-helpers?
I understand now. Thanks for the clarification.
21 replies
CCConvex Community
•Created by anmot. on 7/24/2024 in #support-community
zod return validator in convex-helpers?
It might work with convex values but I think zod validators (args and output) are not flexible IMO. Please correct me if my understanding is incorrect.
z.object doesn't work on args, it only takes {}
{} doesn't work on output, it only takes zod type
21 replies