We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inertia::merge
Inertia::merge doesn't merge pagination result!
If you return an array instead of pagination object, it works fine, but if you return a pagination object, it does not work.
@inertiajs/vue3: ^2.0 inertiajs/inertia-laravel: ^2.0
@inertiajs/vue3
inertiajs/inertia-laravel
export default { props: { users: { type: Object, required: true } } }
return Inertia::render('users', [ 'users' => Inertia::merge(fn () => User::paginate()) ]);
The text was updated successfully, but these errors were encountered:
Related to inertiajs/inertia#2068
Sorry, something went wrong.
No branches or pull requests
Inertia::merge
doesn't merge pagination result!If you return an array instead of pagination object, it works fine, but if you return a pagination object, it does not work.
@inertiajs/vue3
: ^2.0inertiajs/inertia-laravel
: ^2.0The text was updated successfully, but these errors were encountered: