Skip to content

(SP: 1) Review model validation #9

@Roman-Peretiatko

Description

@Roman-Peretiatko

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Backendfeaturesprint 6Tasks/Features that should to do on 6 sprint

    Type

    No type

    Projects

    Status

    Product Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions