When I have a document property using a dbRef - relation like this:
/**
* @MongoDB\ReferenceOne (
* discriminatorMap={
* "post"=Post::class
* },
* defaultDiscriminatorValue="post",
* storeAs="dbRef",
* inversedBy="references",
* cascade={"persist"}
* )
*/
protected DocumentInterface $target;
How can I apply the built-in SearchFilter from Api_Platform to return all items with a matching dbRef and what would the adequate Request look like?