andymatuschak / orbit

Experimental spaced repetition platform for exploring ideas in memory augmentation and programmable attention
https://withorbit.com
Other
1.71k stars 54 forks source link

Convert /taskStates, /attachments and /attachments/:id routes to be validated #213

Closed kirkbyo closed 3 years ago

kirkbyo commented 3 years ago

Relates to #184

Converted /taskStates, /attachments and /attachments/:id to all be backed by the validation system.

A few notes on the changes:

How this was tested I extended my postman collections to include test cases for the new routes and ran the old test cases for the other routes to ensure there were no regressions.

You can see all the test case cases here: https://www.postman.com/orbit-postman/workspace/orbit/overview

andymatuschak commented 3 years ago

(Should have mentioned: I'll leave it to you to merge when ready!)