cadomani / course-management-system

Group project for Software Modeling and Design (COMP3700)
https://cms.kltpzyxm.live
3 stars 1 forks source link

Add header validation as a common dependency #10

Open cadomani opened 2 years ago

cadomani commented 2 years ago

Logic needs to be implemented on each route to check for header presence. Offload the task into a dependency to allow tagging, logging, and early return in case of a missing header.