the-bed-stack icon indicating copy to clipboard operation
the-bed-stack copied to clipboard

Add validations

Open yamcodes opened this issue 8 months ago • 0 comments

Clear and concise description of the problem

Add validations like checking if a slug is not empty before creating an article.

Suggested solution

Validate using TypeBox.

Alternative

Not to do it.

Additional context

  • Check if it's part of the RealWorld expectations: https://realworld-docs.netlify.app/specifications/backend/endpoints/#favorite-article
  • Check if it's a part of the official RealWorld express app

Validations

  • [x] Read the Contributing Guide.
  • [x] Read the README.md.
  • [x] Check that there isn't already an issue that requests the same feature.

yamcodes avatar Apr 15 '25 16:04 yamcodes