DenisB
DenisB
CCConvex Community
Created by devagr on 4/3/2025 in #support-community
`convex dev` can't reach server
Hello! I have the similar issue with WSL and solved it by disabling ipv6 for WSL:
#for Ubuntu 24
sudo sysctl -w net.ipv6.conf.eth0.disable_ipv6=1 # until WSL reboot, for testing
echo "net.ipv6.conf.eth0.disable_ipv6 = 1" | sudo tee /etc/sysctl.d/98-disable-ipv6-eth0.conf # permanent
#for Ubuntu 24
sudo sysctl -w net.ipv6.conf.eth0.disable_ipv6=1 # until WSL reboot, for testing
echo "net.ipv6.conf.eth0.disable_ipv6 = 1" | sudo tee /etc/sysctl.d/98-disable-ipv6-eth0.conf # permanent
45 replies
CCConvex Community
Created by DenisB on 5/12/2025 in #support-community
Linting of convex TS files is very slow - 7 seconds per file
only 45 lines. You can check the code using the link at the bottom of my first message.
4 replies
CCConvex Community
Created by DenisB on 4/29/2025 in #support-community
How to use Zod for validating database writes?
thanks, interesting option with these helpers, do you have an usage example ?
13 replies
CCConvex Community
Created by DenisB on 4/29/2025 in #support-community
How to use Zod for validating database writes?
Yes, I have seen this recommendation. But it seems to me that identifying validation errors at the stage of writing to the DB is the best option, instead of getting a mountain of problems after the fact. I would not envy anyone who has to fix errors in an inconsistent DB state in PROD environment.
13 replies