nkowaokwu / igbo-api-admin

Data entry platform for the Igbo API.
https://editor.igboapi.com
Apache License 2.0
8 stars 20 forks source link

chore: replace yup with joi #505

Closed tony-eneh closed 9 months ago

tony-eneh commented 10 months ago
Status Type Env Vars Change Ticket
Ready Refactor No Closes #308

Problem

We currently have 2 validation libraries in the codebase. yup for the frontend and Joi for the backend. This means an unnecessarily larger bundle size

Solution

Remove yup and use Joi for all validation

QA

[ ] Wrote or updated Jest or Cypress test(s)? [x] Manually QA'd the solution [ ] etc.

Other changes (e.g. bug fixes, UI tweaks, small refactors)

uninstalled yup