You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i like this idea, what do you think @aaron2212. Only thing i'd consider is that we will have to duplicate validation logic for both the frontend and backend. In scenarios where the validation rules change - where does the single source of truth come from? We could also consider only validating on frontend but this seems like although you'd have to question the integrity of the data being persisted. Anyways would be nice to be thoughtful however we decide to go about it.
i like this idea, what do you think @aaron2212. Only thing i'd consider is that we will have to duplicate validation logic for both the frontend and backend. In scenarios where the validation rules change - where does the single source of truth come from? We could also consider only validating on frontend but this seems like although you'd have to question the integrity of the data being persisted. Anyways would be nice to be thoughtful however we decide to go about it.
You could just do validation with regex on the frontend with react or whatever. Would be much easier and with react apps, the user couldn't just edit the source and send fraudulent requests. And the data wouldn't need to be persisted? The requests, if validated, would happen after a button press, it's just the validation would be in real time. Ok Ty!
No description provided.
The text was updated successfully, but these errors were encountered: