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.
There are often times when it doesn't make any sense to add scopes to an
enumattribute. i.e. You would never query the parent Model for certain values of thatenumattribute.I know you can disable pluralizing scopes but can you disable scopes altogether for certain
enumattributes?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.