Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CC-08: Data Validation #11

Open
matherg opened this issue Sep 26, 2023 · 1 comment
Open

CC-08: Data Validation #11

matherg opened this issue Sep 26, 2023 · 1 comment

Comments

@matherg
Copy link
Contributor

matherg commented Sep 26, 2023

Use Gorms before save function to perform data validation for each model. At minimum validate that any required fields contain data.ex.. Think about each field and if there are any characteristics that should be accounted for ex (min budget > 0). Reach out in the dev channel ASAP if you have any ideas/concerns regarding constraints. Test error handling in db_test.go.

Due 10/10

@matherg
Copy link
Contributor Author

matherg commented Oct 25, 2023

Filters:
Occasion
Birthday
Bridal
Get well soon
New baby
Thinking of you
Thank you
//nearest holiday)
Recipient
For her
For him
For kids
For mom
For dad
For women
For men
//(list of user’s saved people)
By Category
Best selling
Fun
Gadgets
Home
Jewelry
Kitchen & bar
Warm and cozy
By Price
Under $25
Under $50
Under $100
Under $200
Under $500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants