-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add rule to detect when a user should use enumValues() #1
Labels
Comments
@silbinarywolf can you please confirm if this is still an issue? I noticed a single commit reference above, but it seems unrelated? I assume you were using the numbers as iterations when working on something else. |
@nglasl Yep, unrelated commit. Still an improvement that can be made. |
Sweet, thanks for the clarification. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In getCMSFields() a user might not realize they can retrieve the enumValues() via dbObject, so throw an error if the fieldname is equal to a DBField that uses enum wherein it's just a constant array of enum values.
The text was updated successfully, but these errors were encountered: