diff --git a/devdocs/todo.txt b/devdocs/todo.txt index c7653dd2..8d13444e 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -17,6 +17,13 @@ todo: search tables in schema, I think there is a missing index here, need to lo API REFACTORING (note: workordercontroller / biz should be following all these rules so it's the template if need reference) +todo: consider and then get rid of PATCH in all routes + unless compelling reason to keep + Would there be a place in the UI where I would want to patch part of an object? + Because I already ditched that for the workorder which is the heaviest and most patchable object in the bunch + if I change a name would I patch it or just put the whole record? + supporting it only for the use of third party users is not a good idea + todo: all api route parameters, post object sb "newObject", put="putObject" IN BIZ TOO todo: all api routes, re-arrange code in controller in this order POST (and postlike such as duplicate), GET, PUT, DELETE for consistency and logicality