loopback-datasource-juggler/lib
Heath Morrison 2377792c22 Coerce array-like objects into arrays
The query-string parser used by express
https://github.com/ljharb/qs#parsing-arrays
limits the size of arrays that are created from query strings to 20
items. Arrays larger than that are converted to objects using numeric
indices.

This commit fixes the coercion algorithm used by queries to
treat number-indexed objects as arrays. We still maintain a strict
understanding of an "array-like object" to limit the opportunity for
subtle bugs. In particular, the presence of non-index keys is an
indication that the object was not intended to be interpreted as
an array.
2017-01-10 14:46:41 +01:00
..
connectors Refactor flush to deleteAll 2017-01-09 14:53:34 -08:00
kvao Refactor flush to deleteAll 2017-01-09 14:53:34 -08:00
browser.depd.js Fix manually 2016-08-22 19:20:12 -04:00
dao.js Coerce array-like objects into arrays 2017-01-10 14:46:41 +01:00
datasource.js Throw error when model relation name is trigger 2017-01-02 17:09:14 +01:00
geo.js Fix manually 2016-08-22 19:20:12 -04:00
hooks.js Fix manually 2016-08-22 19:20:12 -04:00
include.js Upgrade eslint-config to 7.x 2017-01-06 13:33:54 +01:00
include_utils.js Fix manually 2016-08-22 19:20:12 -04:00
introspection.js Fix manually 2016-08-22 19:20:12 -04:00
jutil.js Fix manually 2016-08-22 19:20:12 -04:00
list.js Fix manually 2016-08-22 19:20:12 -04:00
mixins.js Fix manually 2016-08-22 19:20:12 -04:00
model-builder.js Fix manually 2016-08-22 19:20:12 -04:00
model-definition.js Fix manually 2016-08-22 19:20:12 -04:00
model.js Support {defaultFn: 'shortid'} 2016-09-22 16:07:34 -07:00
observer.js Fix manually 2016-08-22 19:20:12 -04:00
relation-definition.js Upgrade eslint-config to 7.x 2017-01-06 13:33:54 +01:00
relations.js Fix manually 2016-08-22 19:20:12 -04:00
scope.js Apply hasManyThrough filter on target model 2016-12-01 10:08:27 -05:00
transaction.js Fix manually 2016-08-22 19:20:12 -04:00
types.js Fix manually 2016-08-22 19:20:12 -04:00
utils.js Upgrade eslint-config to 7.x 2017-01-06 13:33:54 +01:00
validations.js Fixed example for creating ValidationError 2016-11-29 16:04:53 +01:00