-
-
Notifications
You must be signed in to change notification settings - Fork 894
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
Support for BackedEnumFilter #6506
Labels
Comments
Why not indeed! |
mremi
added a commit
to mremi/api-platform-core
that referenced
this issue
Aug 26, 2024
…an entity using PHP backed enum, resolves api-platform#6506
mremi
added a commit
to mremi/api-platform-core
that referenced
this issue
Aug 26, 2024
…an entity using PHP backed enum, resolves api-platform#6506
mremi
added a commit
to mremi/api-platform-core
that referenced
this issue
Aug 26, 2024
mremi
added a commit
to mremi/api-platform-core
that referenced
this issue
Aug 26, 2024
mremi
added a commit
to mremi/api-platform-core
that referenced
this issue
Aug 27, 2024
mremi
added a commit
to mremi/api-platform-core
that referenced
this issue
Aug 27, 2024
mremi
added a commit
to mremi/api-platform-core
that referenced
this issue
Aug 29, 2024
soyuka
pushed a commit
to soyuka/core
that referenced
this issue
Aug 30, 2024
Great feature! Makes me think, what about allowing to exclude certain enum values from the filtering? For example, based on a permission schema "provider" or some other of the more complex use-cases? Worth creating a ticket for that? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Is a new Doctrine filter BackedEnumFilter could be interesting for filtering an entity using backed enum?
Example
Could be used in this way:
with an Enum like this:
The text was updated successfully, but these errors were encountered: