| 130 | } |
| 131 | |
| 132 | type CustomMerge[M dal.Tabler] interface { |
| 133 | MergeFromRequest(target *M, body map[string]interface{}) error |
| 134 | } |
| 135 | |
| 136 | // PatchModel will get an "M" from database and try to merge update from request body |
| 137 | // zeroFields decides whether "M" will be zeroed if "M" doesn't implement CustomMerge. |
no outgoing calls
no test coverage detected