Filter on entities with inheritance with api platform

I use API platform.

I have 2 entities (ProductX and ProductY), herited from Product (inheritance type: JOINED).
I need to add a condition on ProductX or productY field in a filter. But the query builder doesn’t show this entities. Joins are added after (by edge ​​loading ?).

How can I filter on this entities?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *