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) Offer model validation #8

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

(SP: 1) Offer model validation #8

Roman-Peretiatko opened this issue Jul 28, 2023 · 0 comments
Labels
Backend feature Find offers Tasks/Features that relate to page 'Find offers' sprint 5 Tasks/Features that should to do on 5 sprint

Comments

@Roman-Peretiatko
Copy link

Description

There should be the following validation rules for Offer model:

  • price must be required and have min value that equals 1
  • proficiencyLevel must be required
  • title must be required, have length in range 1-100 symbols and be trimmed
  • description must be required, have length in range 1-1000 symbols and be trimmed
  • languages must be required
  • authorRole must be required
  • author must be required
  • subject must be required
  • category must be required
  • faq – questions and answers must be required and trimmed

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 Find offers Tasks/Features that relate to page 'Find offers' sprint 5 Tasks/Features that should to do on 5 sprint labels Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend feature Find offers Tasks/Features that relate to page 'Find offers' sprint 5 Tasks/Features that should to do on 5 sprint
Projects
Status: Product Backlog
Development

No branches or pull requests

2 participants