loopback-datasource-juggler/test
Nick Oikonomou b3a7bc521d Fixes #1275. `Include` filter transforms fields property into array. (#1276)
* Fixes#1275 Transform *fields* property into array

`Include` filter takes into consideration string property
'fields' and transforms it into an array containing this string.

* Added error handling for `include` filter.

* ExecTasksWithInterLeave now contains a try-catch block
 in order to catch any unexpected errors.

* LinkManyToMany now checks if *modelToIdName* exists on
 *target* before continuing.

* Added unit test for *include* with string fields
2017-03-22 10:03:36 -04:00
..
fixtures/loopback-connector-throwing Fix datasource to report connector-loading errors 2017-02-03 20:29:11 +01:00
helpers test/kvao: add connectorCapabilities options 2016-10-19 11:06:17 +02:00
kvao Add missing return for KVAO delete all 2017-01-13 00:19:10 -08:00
operation-hooks.suite Upgrade eslint-config, fix new violations 2017-02-01 12:45:56 +01:00
CustomTypeForeignKey.test.js Fix manually 2016-08-22 19:20:12 -04:00
allow-extended-operators.test.js Refactor logic of options.allowExtendedOperators 2017-01-30 00:05:56 +01:00
async-observer.test.js Fix manually 2016-08-22 19:20:12 -04:00
basic-querying.test.js Using a filter with exclusion of a non existent property, removes an existing one (#1257) 2017-03-20 19:18:48 -04:00
common.batch.js Fix manually 2016-08-22 19:20:12 -04:00
common_test.js Upgrade eslint-config to 7.x 2017-01-06 13:33:54 +01:00
crud-with-options.test.js Fix block padding 2016-12-13 16:05:50 -08:00
datasource.test.js Fix datasource to report connector-loading errors 2017-02-03 20:29:11 +01:00
datatype.test.js Fix block padding 2016-12-13 16:05:50 -08:00
default-scope.test.js override collection name for arangodb (#1243) 2017-03-20 09:01:16 -04:00
defaults.test.js Fix block padding 2016-12-13 16:05:50 -08:00
discovery.test.js Fix eslint errors reported by the latest eslint 2016-12-20 17:37:54 +01:00
geo.test.js Upgrade eslint-config to 7.x 2017-01-06 13:33:54 +01:00
hooks.test.js Fix block padding 2016-12-13 16:05:50 -08:00
include.test.js Included models from include operations do not change defined `strict` model option (#1259) 2017-03-20 19:48:57 -04:00
include_util.test.js Fix manually 2016-08-22 19:20:12 -04:00
init.js Add test case for all connectors 2017-02-14 14:01:44 -05:00
introspection.test.js Fix block padding 2016-12-13 16:05:50 -08:00
json.test.js Upgrade eslint & config to latest 2016-12-05 15:14:09 +01:00
kv-memory.js Refactor flush to deleteAll 2017-01-09 14:53:34 -08:00
kvao.suite.js test/kvao: add connectorCapabilities options 2016-10-19 11:06:17 +02:00
loopback-data.test.js Fix manually 2016-08-22 19:20:12 -04:00
loopback-dl.test.js Fixes #1230 coerceArray converts empty Objects (#1269) 2017-03-20 10:05:11 -04:00
manipulation.test.js dao: catch sync errors on setAttributes 2017-03-16 17:26:53 -04:00
memory.test.js Add test case for all connectors 2017-02-14 14:01:44 -05:00
mixins.test.js Fix block padding 2016-12-13 16:05:50 -08:00
mock-connectors.js Fix manually 2016-08-22 19:20:12 -04:00
model-definition.test.js Fix block padding 2016-12-13 16:05:50 -08:00
optional-validation.test.js Fix id update error message formatting 2017-02-15 18:26:32 +01:00
performance.coffee Reformat the code 2014-01-24 09:09:53 -08:00
persistence-hooks.suite.js Upgrade eslint-config, fix new violations 2017-02-01 12:45:56 +01:00
relations.test.js Fixes #1275. `Include` filter transforms fields property into array. (#1276) 2017-03-22 10:03:36 -04:00
schema.test.js Fix block padding 2016-12-13 16:05:50 -08:00
scope.test.js Fix block padding 2016-12-13 16:05:50 -08:00
spec_helper.js Fix manually 2016-08-22 19:20:12 -04:00
test1-schemas.json Reformat the code 2014-01-24 09:09:53 -08:00
test2-schemas.json Reformat the code 2014-01-24 09:09:53 -08:00
transient.test.js Fix block padding 2016-12-13 16:05:50 -08:00
util.test.js Using a filter with exclusion of a non existent property, removes an existing one (#1257) 2017-03-20 19:18:48 -04:00
validations.test.js Add test coverage for `validatesInclusionOf` (#1249) 2017-03-18 06:50:10 -04:00