{{ message }}
Repository navigation
Conversation
vinceAmstoutz
force-pushed
the
feat-doctrine-filters-like-laravel-filters
branch
from
November 5, 2024 13:07
fd22d9c to
93b3226
Compare
vinceAmstoutz
force-pushed
the
feat-doctrine-filters-like-laravel-filters
branch
from
November 6, 2024 13:15
93b3226 to
6cfee88
Compare
Member
Author
|
@soyuka As requested, the swagger UI doc looks like this for the |
vinceAmstoutz
force-pushed
the
feat-doctrine-filters-like-laravel-filters
branch
6 times, most recently
from
November 7, 2024 15:08
77cb4c6 to
fc7f5f1
Compare
Member
Author
|
@soyuka As requested, the swagger UI doc looks like this for the |
soyuka
reviewed
Nov 8, 2024
vinceAmstoutz
force-pushed
the
feat-doctrine-filters-like-laravel-filters
branch
3 times, most recently
from
November 12, 2024 11:01
2f4ec07 to
8f0620e
Compare
vinceAmstoutz
force-pushed
the
feat-doctrine-filters-like-laravel-filters
branch
14 times, most recently
from
November 13, 2024 13:11
68d2dfb to
3736645
Compare
soyuka
reviewed
Nov 14, 2024
vinceAmstoutz
force-pushed
the
feat-doctrine-filters-like-laravel-filters
branch
from
November 18, 2024 11:06
74919ff to
4456cb1
Compare
vinceAmstoutz
force-pushed
the
feat-doctrine-filters-like-laravel-filters
branch
from
November 18, 2024 13:02
4456cb1 to
7513e53
Compare
soyuka
requested changes
Nov 22, 2024
vinceAmstoutz
force-pushed
the
feat-doctrine-filters-like-laravel-filters
branch
from
November 22, 2024 14:13
7513e53 to
eb9277d
Compare
soyuka
force-pushed
the
feat-doctrine-filters-like-laravel-filters
branch
from
December 9, 2024 13:04
eb9277d to
db108d5
Compare
soyuka
force-pushed
the
feat-doctrine-filters-like-laravel-filters
branch
from
December 9, 2024 13:22
db108d5 to
d9bc540
Compare
vinceAmstoutz
force-pushed
the
feat-doctrine-filters-like-laravel-filters
branch
from
December 10, 2024 11:01
7047de6 to
3dde14a
Compare
soyuka
force-pushed
the
feat-doctrine-filters-like-laravel-filters
branch
from
December 10, 2024 12:32
e8b6dd9 to
d1ffc14
Compare
5 tasks done
vinceAmstoutz
pushed a commit
to vinceAmstoutz/api-platform-core
that referenced
this pull request
Dec 24, 2024
…platform#6775) * feat(doctrine): doctrine filters like laravel eloquent filters * fix: allow multiple validation with :property placeholder * fix: correct escape filter condition * fix: remove duplicated block --------- Co-authored-by: soyuka <soyuka@users.noreply.github.com>
|
@vinceAmstoutz @soyuka I think, |
Member
Author
Why we should do that? @1ed |
GromNaN
added a commit
to GromNaN/api-platform-core
that referenced
this pull request
Jan 30, 2025
interface ManagerRegistryAwareInterface implemeted by ApiPlatform\Doctrine\{Orm,Odm}\Filter\AbstractFilter
api-platform#6775
jonerickson
pushed a commit
to jonerickson/core
that referenced
this pull request
Feb 21, 2025
…latform#6775) * feat(doctrine): doctrine filters like laravel eloquent filters * fix: allow multiple validation with :property placeholder * fix: correct escape filter condition * fix: remove duplicated block --------- Co-authored-by: soyuka <soyuka@users.noreply.github.com>
13 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



mainCompletes #6749.
Goal:
Using Dotrine filters as we use Laravel Eloquent filters. Example using a
BooleanFilterwith Symfony and Doctrine:#[ApiResource] #[GetCollection( parameters: [ 'active' => new QueryParameter( filter: new BooleanFilter(), ), // support also for filter aliasing 'enabled' => new QueryParameter( filter: new BooleanFilter(), property: 'active', ), ], )] #[ORM\Entity] class FilteredBooleanParameter { // ... }TODO:
Will be done in another PR: