tommybananas / finale

Create flexible REST endpoints and controllers from Sequelize models in your Express app
187 stars 36 forks source link

Utilize params rather than query #8

Closed sbonami closed 6 years ago

sbonami commented 6 years ago

Like the read controller, finale needs to look at the request's params rather than the query directly.

tommybananas commented 6 years ago

I'm not sure this is correct, but correct me if i'm wrong. Query is accessed because there are actually query parameters to process like sort and search. Not sure what you're trying to do here, and all the test cases are failing. Please provide more of an explanation and make sure the test cases pass.