Is there an option in loopback to set max amount of records returned by server?
For example I have 1000 users in db. I want server return no more then 20 users. But if someone sends 1 5 10 15 in filter loopback should return that amount.
There is an option "scope" for a model in loopback. But this option overwrites limit param specified by request.