Skip to content

fix: limiting ToMany relation results#112

Merged
tobyzerner merged 2 commits intotobyzerner:mainfrom
SychO9:sm/fix-limiting-tomany
Nov 1, 2024
Merged

fix: limiting ToMany relation results#112
tobyzerner merged 2 commits intotobyzerner:mainfrom
SychO9:sm/fix-limiting-tomany

Conversation

@SychO9
Copy link
Copy Markdown
Contributor

@SychO9 SychO9 commented Sep 13, 2024

I made a mistake in #103 where in order to be able to make use Laravel 11's many relationship limit, the object has to be the relation instead of the eloquent query.

Not sure if this constitutes a breaking change since there haven't been any releases in the package since then?

@tobyzerner tobyzerner merged commit a30aa59 into tobyzerner:main Nov 1, 2024
@tobyzerner
Copy link
Copy Markdown
Owner

Thanks @SychO9!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants