Please is there a way to configure metadata map with api tools hal so that it accepts two entity identifiers?
I have endpoint in form of /api/sellers/[:seller_id]/tickets[/:ticket_id]
I use Entity Ticket which as enitity identifier ticketid mapped by route identifier ticket_id.
The Ticket Entity has related entity (Doctrine ORM) Seller which has entity identifier sellerid mapped by route identifier seller_id
Is there a way to configure this with metadatamap? I would like to get both tickets and sellers within one request. Limiting the maxDepth is not really a solution. Or custom Hydrator is the only way?