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
Sam
09/08/2023, 8:27 AM
Do both! Client-side validation helps to provide a good user experience. Server-side validation helps to provide security.
👍 2
a
Alejandro Serrano.Mena
09/08/2023, 8:27 AM
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
Farid Benhaimoud
09/08/2023, 8:32 AM
Thanks for the info arrow
c
CLOVIS
09/08/2023, 8:35 AM
Never trust what the client sends! The backend should always verify everything. Attackers do not use your frontend.