-
-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(relations): allow to hide or rename pivot attribute on belongsTo… (
#433) * feat(relations): allow to hide or rename pivot attribute on belongsToMany relations * feat(relations): small refactor and new test added to belongsToMany relation - rename `_isHiddenPivotKey` to `_isHiddenPivotAttribute` - new test added to increase coverage on belongsToMany * feat(relations): adding renamed methods that were forgotten in the previous commit. * feat(relations): fix failing tests * feat(relations): fix coverage decreased and remove unnecessary if statement.
- Loading branch information
1 parent
2cf02e1
commit 3dc5376
Showing
2 changed files
with
316 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters