Skip to content

7.4.0

Choose a tag to compare

@binaryk binaryk released this 29 Jul 06:23
· 45 commits to 7.x since this release
8a5ad1c

Added

  • Added support for nested relationships when you want to get the parent and children in the same query. Imagine a tweet thread, where you want to list all tweets with its parent tweet along with its immediate children tweets. This is now possible and will do not run into infinite loop issue.

Fixed

  • Support to mock repositories using YourRepository::partialMock() for the index request, previously it ran into the mock state and didn't update the second resources in tests.

Breaking

  • The $eagerState repository property is now private, and it is of type null|string because it holds the parent repository that renders it.