copleykj / socialize-base-model

MIT License
14 stars 12 forks source link

[feature request] Make .set() accept objects #8

Closed StorytellerCZ closed 7 years ago

StorytellerCZ commented 8 years ago

.set() is great, but it only works for a single field. It would be great if it could also accept objects like so:

book.set({
  author: "authorId",
  title: "book title"
})
copleykj commented 8 years ago

I'm sure this is easily implemented, but honestly I'm going to have to dig into this code a bit and then slap the shit out of myself for not commenting this when I wrote it :-P