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

allow to get item by passing id inside params object #26

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'] }
});