-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Enum-Validator #167
Comments
Perhaps just an expansion of the |
Like adding an Enum Class as Haystack? Would make it a bit complicated to differentiate and you need to mix types. |
Maybe: let's start with a proposal patch though, so go for it 💪 Please test it 😁 |
just to be sure, I will need to change that to something supporting array and enum values and need to add a PHP-Version check because there is still 8.0 support. |
Feature Request
I would like to have an enum validator.
Summary
Like I have a value and if it is in the specific enum it is valid.
Of course this would be a php > 8.0 feature. So I just want to know if you're open for that or if it is not in the scope of this package.
I you're open for it I will try to add a pull request :-)
The text was updated successfully, but these errors were encountered: