-
-
Notifications
You must be signed in to change notification settings - Fork 134
Support limits #180
New issue
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
base: master
Are you sure you want to change the base?
Support limits #180
Conversation
Hi @parkourben99 Thank you for the PR! This package is designed to support Laravel versions prior to 11. However, the Laravel version constraint in your composer.json file would restrict compatibility with those versions. |
I'm not sure these changes will work with previous versions of laravel, due to the recent change in laravel to support limits. Do the tests run on previous versions? |
@parkourben99 @parallels999 Any updates? I'm going to abandon https://github.com/mpyw/compoships-eager-limit. I'm looking forward to this PR get merged! |
Apologies, I have updated this PR. |
@topclaudy @parallels999 We'll appreciate if you review this in your free time 😃 |
I am not the maintainer of this package, I don't know why you ask me for a review, At most I avoid being left without support in my old apps |
Hi @parallels999 I suspect you were tagged as you reviewed this to being with. |
- grammar constructor now requires the connection, setConnection and withTablePrefix no longer exist
@parkourben99 I just submitted a PR into your PR 🤯 parkourben99#1 Your changes are not backwards-compatible with older PHP versions, GH Actions test matrix was failing, so I updated the code to use older switch and function closures. Tests are passing now on my fork of your fork. |
Fix failing tests, BC with older versions of PHP
Thanks @chrispappas not sure why dead versions of PHP are still being supported |
@parkourben99 the linting issue failing the CI build was introduced in my PR (sorry eh 🍁), can you fix please? I'd love to get this PR landed so I can switch back to using the main repo for compoships, and not my personal fork |
@topclaudy just a follow-up ping on this PR for review, when you have time. I have been using my forked branch with this change in prod for the last few weeks and it works as expected. |
@parkourben99 Can you please fix the failing tests? |
Looks like the failing test are due to backed enums. I have merged master into this PR. @parallels999 I've also added support for mariadb |
@parkourben99 Thanks for the update. The tests are still failing tough. Can you take a look when you have a moment? |
@parkourben99 The tests are green on |
Fixes #173
Support sub query limits. Now that the Eloquent Eager Limit package is native in Larave 11l.
example usage: