-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
Broken in Lumen #25
Comments
Can you provide some context? That error is usually caused because the enum class hasn't been imported or is using the wrong path. Make sure you're either importing it using the use statement or are using the fully qualified path name. |
|
Have you included a use statement for RpType? By default it would be in |
Looking at the error message again, perhaps the You could try changing line line 17 of BenSampo\Enum\Rules\EnumValue locally to use 'app' instead of 'resolve' to see if that helps. https://github.com/BenSampo/laravel-enum/blob/master/src/Rules/EnumValue.php#L17 Let me know if it does. |
Works great if change |
My Lumen version is 5.6. Works great if changing |
I've pushed and tagged a new release which should fix this. Update to 1.11.1 and you should be good to go! |
I will try. Thanks! |
When using validation, errors came.
The text was updated successfully, but these errors were encountered: