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

EnumValue validation rule allows multiple flags for FlaggedEnums #137

Merged
merged 3 commits into from
Apr 11, 2020
Merged

EnumValue validation rule allows multiple flags for FlaggedEnums #137

merged 3 commits into from
Apr 11, 2020

Conversation

Firtzberg
Copy link
Contributor

@Firtzberg Firtzberg commented Mar 28, 2020

  • Added or updated tests
  • Added or updated the README.md
  • Detailed changes in the CHANGELOG.md unreleased section

This changes the validation for flagged enums. I would consider the current behaviour as undesired. This might impact someones code.

@Firtzberg
Copy link
Contributor Author

Please release this if you merge it, I need it.

@BenSampo BenSampo merged commit ed67519 into BenSampo:master Apr 11, 2020
@Firtzberg Firtzberg deleted the flagged-enum-value-rule branch April 11, 2020 19:28
atymic pushed a commit to atymic/laravel-enum that referenced this pull request Oct 11, 2020
…Sampo#137)

* EnumValue validation rule allows multiple flags for FlaggedEnums, integer values only.

* Fixed check for flagged enum class.

* Allowed string representation for enum flags value.
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