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

EnumValueChecker: Check enums in any order #222

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

toydestroyer
Copy link
Contributor

👋

I have recently enabled the EnumValueChecker in our project and noticed that several enum declarations were flagged as inconsistent. This is because our ActiveRecord models' enum declarations do not always match the exact order in PostgreSQL.

I propose that strict literal consistency in this checker may be unnecessary, and this PR addresses that concern.

Looking forward to the feedback.

Thank you!

@djezzzl djezzzl merged commit e087278 into djezzzl:master Dec 18, 2023
8 checks passed
@djezzzl
Copy link
Owner

djezzzl commented Dec 18, 2023

Hi @toydestroyer,

Thank you! Released as 1.7.23! Have a great time!

@toydestroyer toydestroyer deleted the check-enums-in-any-order branch December 18, 2023 12:07
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