Description / Steps to reproduce / Feature proposal
See this example from the documentation: http://loopback.io/doc/en/lb4/Controllers.html#writing-controller-methods
@get('/messages')
async list(@param.query.number('limit') limit = 10): Promise<HelloMessage[]> {
if (limit > 100) limit = 100; // your logic
return await this.repository.find({limit}); // a CRUD method from our repository
}
Current Behavior
The limit parameter is always 10, regardless of what value is supplied through query parameter.
Expected Behavior
Be able to change limit via query parameter.