loopback/test/fixtures/simple-integration-app
Miroslav Bajtoš fcfdb73bdb 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 12:59:01 +02:00
..
common/models Fix remoting metadata for "data" arguments 2016-09-07 12:59:01 +02:00
server Expose `Replace*` methods 2016-08-15 12:17:36 -04:00