Hello Simon, In this talk: <https://www.youtube.co...
# arrow
f
Hello Simon, In this talk:

https://www.youtube.com/watch?v=g79A6HmbW5M

You are validating your fields in the backend. Is there a reason why you choose to do it in the backend? Because I am used to validate fields client side. Thanks in advance
s
Do both! Client-side validation helps to provide a good user experience. Server-side validation helps to provide security.
👍 2
a
one nice thing about Arrow being multiplatform is that if you put your model and validation in common code, you can actually share it in both front and back-end
f
Thanks for the info arrow
c
Never trust what the client sends! The backend should always verify everything. Attackers do not use your frontend.
👍 8
l