This commit is contained in:
2020-05-08 16:55:40 +00:00
parent 692e2cb712
commit ddaa26cfee

View File

@@ -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