Skip to content

Ability to Disable Scopes Completely?  #151

Description

@joshuapinter

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions