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

(SP: 1) Review model validation #9

Open
1 task
Roman-Peretiatko opened this issue Jul 28, 2023 · 0 comments
Open
1 task

(SP: 1) Review model validation #9

Roman-Peretiatko opened this issue Jul 28, 2023 · 0 comments
Labels
Backend feature sprint 6 Tasks/Features that should to do on 6 sprint

Comments

@Roman-Peretiatko
Copy link

Description

There should be the following validation rules for Review model:

  • comment must be required and trimmed
  • rating – must be required, trimmed and have a value in range 1-5
  • author must be required
  • targetUserId must be required
  • targetUserRole must be required
  • offer must be required

Acceptance Criteria

  • all of the rules above must be addded
@Roman-Peretiatko Roman-Peretiatko converted this from a draft issue Jul 28, 2023
@KhrystynaPavlikovska KhrystynaPavlikovska added the sprint 6 Tasks/Features that should to do on 6 sprint label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend feature sprint 6 Tasks/Features that should to do on 6 sprint
Projects
Status: Product Backlog
Development

No branches or pull requests

2 participants