Skip to content

Commit e93f794

Browse files
authored
Added ApiFilter and SearchFilter namespaces
1 parent a561d86 commit e93f794

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/filters.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ It is possible to filter on relations too, if `Offer` has a `Product` relation:
179179
namespace App\Entity;
180180
181181
use ApiPlatform\Core\Annotation\ApiResource;
182+
use ApiPlatform\Core\Annotation\ApiFilter;
183+
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter;
182184
183185
/**
184186
* @ApiResource()

0 commit comments

Comments
 (0)