feathersjs/canjs-feathers — pull request #2 by marshallswain (2014-04-26 14:04:13+00:00)
Title: Setting up params on {query:params} for consistency with REST.

This pull request modifies findAll to match the behavior of a standard CanJS model, making it possible to swap a standard model out for a feathers model without having to rewrite other parts of an app.

Currently, in FeathersJS, the query from requests coming in over the REST interface get set up on params.query, thus CanJS findAll request params get passed on params.query. To be compatible, params should be passed inside a query: {query:params}