If I try to update a make, and only pass in some of the fields, any omitted ones are deleted. This throws when they're required/fail validation, and some just get cleared entirely.
Created attachment 754821 [details] [review] https://github.com/mozilla/MakeAPI/pull/62 I modified updateFields in the make routes so that it doesn't overwrite existing fields with `null` and I also make it concatenate tag arrays. Also have it checking if the createdAt field already exists, so that the time is put in updatedAt if the make already existed.
Comment on attachment 754821 [details] [review] https://github.com/mozilla/MakeAPI/pull/62 r+ with nits in PR.
Commit pushed to master at https://github.com/mozilla/MakeAPI https://github.com/mozilla/MakeAPI/commit/b1362b16b0816eeaa73d4a4dafc1bc41427a05b8 Fix Bug 876527 - Don't overwrite existing make fields on an update, concatenate tag arrays, and determine which date field to timestamp.