Closed sprypradeep closed 8 years ago
we can just use the entire postData object and pass that on to "data",
I think this is related to: https://github.com/jonathan-casarrubias/loopback-sdk-builder/issues/52
since is part of the same flow
Please provide a custom remote method configuration as you have configured, so I can add it to the tests.
never mind I was able to replicate and fix it.. will be released in RC5
Thank you!
In the model function the "data" property is wrongly set from the first param (by ejs), this results in other params being missed, ideally we need to merge the params with data and send in request body:
https://github.com/jonathan-casarrubias/loopback-sdk-builder/blob/master/lib/angular2/shared/services/custom/service.ejs#L194-L195