We finally have full schema validation for our routes' req.query and req.body objects. I've done my best to model these as specifically as possible, especially surrounding the getCardsByFilter controller and interactor, which required some refactoring after we became more confident about the shape and types of data it accepts. There have been major additions to common/types, which may be broken up at a later time.
This also adds a minor refactor to the frontend to align query variables. We should deploy both halves simultaneously after the close of business today to reduce the possibility of conflicts.
Summary
We finally have full schema validation for our routes'
req.query
andreq.body
objects. I've done my best to model these as specifically as possible, especially surrounding thegetCardsByFilter
controller and interactor, which required some refactoring after we became more confident about the shape and types of data it accepts. There have been major additions tocommon/types
, which may be broken up at a later time.This also adds a minor refactor to the frontend to align query variables. We should deploy both halves simultaneously after the close of business today to reduce the possibility of conflicts.