This is more of a question about the usage of this Gem.
I am using api-pagination in combination with pagy to provide a paginated API.
This might be as simple as the example shown here.
Internally api-pagination calls pagy via Pagy.new; here you can also see the offset and limit being applied.
How would I make this work with fast_page?
When I add the method from the README to my controller, it is not being called.
This is more of a question about the usage of this Gem.
I am using
api-paginationin combination withpagyto provide a paginated API.This might be as simple as the example shown here.
Internally
api-paginationcallspagyviaPagy.new; here you can also see the offset and limit being applied.How would I make this work with
fast_page?When I add the method from the README to my controller, it is not being called.