-
Notifications
You must be signed in to change notification settings - Fork 313
Hashie::Extensions::Dash::PredefinedValues #530
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
Conversation
d9b11e1
to
b465c9c
Compare
I like it. Naming-wise I think we don't want to get into the business of having allow and deny lists (which can become incompatible, etc.), so I still think it should be |
e9be2d6
to
4f8d65f
Compare
Extends a Dash with the ability to accept only predefined values on a property. hashie#61
4f8d65f
to
4cd2844
Compare
Leaving this open for a bit to hear from other maintainers and will merge sometime by EOW otherwise. |
Does anyone feel strongly about whether this should be called |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm 👍 with this. I like PredefinedValues
, though Enum
does come to mind for me.
Thanks @dblock @michaelherold |
Extends a Dash with the ability to accept only predefined values on a property.
#61