loopback/lib
Miroslav Bajtoš f76edd5d61 Fix remoting metadata for "data" arguments
Fix the definition of "data" argument to

    { type: 'object', model: modelName, ... }

That way strong-remoting passed the request body directly to the model
method (does not create a new model instance), but the swagger will
still provide correct schema for these arguments.

This fixes a bug where upsert in relation methods was adding default
property values to request payload.
2016-09-07 14:27:58 +02:00
..
connectors Support 'alias' in mail transport config. 2016-08-16 16:24:56 +02:00
access-context.js update copyright statements 2016-05-03 15:50:21 -07:00
application.js Discard sugar method for model creation 2016-09-07 10:40:23 +02:00
browser-express.js update copyright statements 2016-05-03 15:50:21 -07:00
builtin-models.js common: add KeyValueModel 2016-08-10 14:15:22 +02:00
current-context.js Globalize current-context error messages 2016-08-10 13:43:40 +02:00
loopback.js Remove current-context API 2016-08-10 13:43:40 +02:00
model.js Fix remoting metadata for "data" arguments 2016-09-07 14:27:58 +02:00
persisted-model.js Fix remoting metadata for "data" arguments 2016-09-07 14:27:58 +02:00
registry.js Revert globalization of assert() messages 2016-08-15 08:53:25 +02:00
runtime.js update copyright statements 2016-05-03 15:50:21 -07:00
server-app.js Add globalization 2016-08-04 15:08:16 -04:00
utils.js update copyright statements 2016-05-03 15:50:21 -07:00