Skip to content

Commit b27540c

Browse files
authored
Merge pull request #810 from emnsen/patch-1
Added ApiFilter and SearchFilter namespaces
2 parents a561d86 + e93f794 commit b27540c

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)