Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Conflict with CursorPaginator of Laravel 8 #23

Open
fntneves opened this issue Aug 1, 2021 · 0 comments
Open

Conflict with CursorPaginator of Laravel 8 #23

fntneves opened this issue Aug 1, 2021 · 0 comments

Comments

@fntneves
Copy link

fntneves commented Aug 1, 2021

Hi,

I am facing an issue with Laravel 8, after upgrading from Laravel 7.

Laravel 8 introduces a new paginator — CursorPaginator — through the Query Builder method cursorPaginate.

// Laravel 7.x
get_class(User::cursorPaginate()); // returns "Juampi92\CursorPagination\CursorPaginator"

// Laravel 8.x
get_class(User::cursorPaginate()); // returns "Illuminate\Pagination\CursorPaginator"

It conflicts with the method of this package and both behaviors are far from being similar.

Do you have any idea on how to solve this?

Thank you in advance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant