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

feat: "Submitted Report" data validation #181

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

NAGERI
Copy link

@NAGERI NAGERI commented May 13, 2024

Ticket No

Summary of changes

  • Added validation using Joi package to implement validation pipe

How should this be tested? [Screenshots, Video or Type instructions]

  • Send a report using Postman, and omit some fields, the error will show in the response.
    image

Notes for reviewers

  • I have added validation for the smallgroupName and other required fields of a submitted report object.

Out of scope

  • Other changes are a result of linting.

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

Successfully merging this pull request may close these issues.

None yet

1 participant