strongloop/loopback-datasource-juggler — pull request #352 by bitmage (2014-11-11 21:49:45+00:00)
Title: handle relationship create with [array]

For a hasAndBelongsToMany relationship, [model].[relationship].create was failing when passed an array. The underlying [model].create supports an array, but the code creating the 'through' record assumes that it's working with an object.

I added a failing test, and a fix.