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

Ability to Disable Scopes Completely? #151

Open
joshuapinter opened this issue Apr 16, 2021 · 0 comments
Open

Ability to Disable Scopes Completely? #151

joshuapinter opened this issue Apr 16, 2021 · 0 comments

Comments

@joshuapinter
Copy link
Contributor

There are often times when it doesn't make any sense to add scopes to an enum attribute. i.e. You would never query the parent Model for certain values of that enum attribute.

I know you can disable pluralizing scopes but can you disable scopes altogether for certain enum attributes?

This would help remove methods from the parent Model that don't add value. Reduced noise. Improve clarity of intentions.

If not, let me know if this is something you would consider adding and I'll write up a PR for it.

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

No branches or pull requests

1 participant