Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Version 3.3.5

Compare
Choose a tag to compare
@siemensikkema siemensikkema released this 04 Sep 10:52
· 68 commits to master since this release
e3c8a74

Added

  • Option to specify the paginator type, eg:
try User
    .query(on: req)
    .paginate(for: req, type: OffsetPaginator.self)    
    ...

This is useful in cases where the type cannot be inferred and you would have had to split up a chain to be able to add type information. In case the type can be inferred, you can omit this parameter.
This parameter has been added to all paginate functions that return a generic Paginator.