Skip to content
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

Added ability so specify default select criteria for Models #904

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

circulon
Copy link
Contributor

Based on discussion in #902

Specify default select criteriaa for the Model by
overriding get_selects() in the subclass

@josephmancuso
do we need more tests than this?
ie for all grammars?

Specify default select criteriaa for the Model by
overriding  get_selects() in the subclass
@josephmancuso
Copy link
Member

no this looks good

@josephmancuso josephmancuso merged commit 3451fd6 into MasoniteFramework:2.0 Oct 30, 2024
5 checks passed
@circulon
Copy link
Contributor Author

@josephmancuso
I will have alook at the docs regarding this soon

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