-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Description, please be as detailed as possible:
The fields in the aplication need validators to check for problems before sending data to the database;
This validations can include:
- null or undefined fields;
- fields without valid text (spaces cannot validade);
- Be creative; if you think of something that can be checked, include this;
Some fields that need to be validated:
- Login and Sign-in Forms;
- Posts;
- Comment editions;
- Messages (if page is done);
Tips:
- New comments (see code in src/components/Posts/comments/addComments/index.jsx) already have a basic validation that can be found in the services folder (src/services/validators/messagingValidations);
- All validations should be in the validators folder;
I'm using short circuit validation (example below) but, feel free to use another pattern.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed