canjs / can-connect-feathers

The FeathersJS client library for DoneJS and can-connect
https://canjs.com/doc/can-connect-feathers.html
MIT License
10 stars 4 forks source link

2.0 get with params #25

Closed ilyavf closed 7 years ago

ilyavf commented 7 years ago

Allow to get item by passing id inside params object (this will allow to pass extra params, e.g. populate, etc).

MyModel.get({
    _id: 100,
    query: { $populate: ['myRef'] }
});
ilyavf commented 7 years ago

this should target 2.0 branch...