-
-
Notifications
You must be signed in to change notification settings - Fork 877
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
[Laravel] Collection relations are not working correctly #6791
Comments
Yes relates to this issue (api-platform/api-platform#2795). Fix is in progress: Feel free to test the fix, by applying the patch manually to your codebase. Altough please not that this probably is not the final implementation. |
toitzi
added a commit
to toitzi/core
that referenced
this issue
Nov 14, 2024
fix loading relationships by only loading those related to the model Closes: api-platform#6791 Signed-off-by: Tobias Oitzinger <[email protected]>
toitzi
added a commit
to toitzi/core
that referenced
this issue
Nov 14, 2024
fix loading relationships by only loading those related to the model Closes: api-platform#6791 Signed-off-by: Tobias Oitzinger <[email protected]>
toitzi
added a commit
to toitzi/core
that referenced
this issue
Nov 14, 2024
fix loading relationships by only loading those related to the model Closes: api-platform#6791 Signed-off-by: Tobias Oitzinger <[email protected]>
toitzi
added a commit
to toitzi/core
that referenced
this issue
Nov 14, 2024
fix loading relationships by only loading those related to the model Closes: api-platform#6791 Signed-off-by: Tobias Oitzinger <[email protected]>
toitzi
added a commit
to toitzi/core
that referenced
this issue
Nov 14, 2024
fix loading relationships by only loading those related to the model Closes: api-platform#6791 Signed-off-by: Tobias Oitzinger <[email protected]>
soyuka
pushed a commit
that referenced
this issue
Nov 15, 2024
Co-authored-by: Antoine Bluchet <[email protected]> Closes: #6791 fixes api-platform/api-platform#2795, #6791
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
API Platform version(s) affected: 4.*
Description
All collection relations return all records instead of related records
How to reproduce
Lets say I want to get a list of all my companies and the users related to those companies
The text was updated successfully, but these errors were encountered: