loopback/test/fixtures
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
..
access-control resolve related models from correct registry 2016-08-25 12:51:29 +02:00
e2e/server test: use local registry in test fixtures 2016-07-27 10:07:49 +02:00
shared-methods Remove current-context API 2016-08-10 13:43:40 +02:00
simple-app test: use local registry in test fixtures 2016-07-27 10:07:49 +02:00
simple-integration-app Fix remoting metadata for "data" arguments 2016-09-07 14:27:58 +02:00
user-integration-app resolve related models from correct registry 2016-08-25 12:51:29 +02:00