strongloop/loopback-datasource-juggler — pull request #126 by raymondfeng (2014-05-27 15:53:14+00:00)
Title: Keep undefined values for the array type

/to @ritch

This PR makes sure mongodb update doesn't override existing array values. Before the fix, we always set an empty array as the default value. As a consequence, the MongoDB driver will replace existing array properties with an empty array. The issue was reported by node-advisor.