-
Notifications
You must be signed in to change notification settings - Fork 132
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
Support custom pivot models #23
Labels
enhancement
New feature or request
Milestone
Comments
I'm giving it a shot to implement this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Custom Pivot models are being included as standard models
(likely because they ultimately extend Model::class)
Relations that actually use these Custom model classes aren't noted as such
The above is an example of
I think if a class is of Pivot::class it can be ignored for layout. But as the Pivot class has its own fillable etc for use with withPivot() it could also be creatable via this package when defining relations - maybe an "Add Custom Pivot Class" option then provide the same model creation interface that already exists.
The text was updated successfully, but these errors were encountered: