frmscoe / tms-service

1 stars 3 forks source link

TMS validation bug #178

Closed cshezi closed 3 weeks ago

cshezi commented 3 weeks ago

Story statement

As a Tazama Maintainer, I want to validate incoming requests for 0 mistake tolerance of request body, So that Every request being sent to tms is being validated And so that tms does not need to handle every attribute attached to the transaction object

Expected outcome : image

Current outcome: image

Acceptance criteria

  1. Allow Swagger or Fasify to validate every request
  2. Make sure your solution handles validation in the best possible way
  3. Performance A/B test A being feat branch and B being dev branch
  4. Validation should always be expected before the main request starts being handled
  5. Ensure that every level of the request object is handled correctly or validated correctly