api-platform / api-platform/core
Get entity in subresource
Aperta
- Lingua principale
- PHP
- Stelle
- 2.6k
- Fork
- 980
- Merge medio
- 2g 5h
- PR unite (30g)
- 48
Descrizione
Hello :)
So, I'm testing api platform, it works great. I'm using subresources, let's imagine I can get that:
/products/{id}/offers/{offers}/comments
It works if I do /products/{id}/offers but if I try /products/{id}/offers/{offers} then the route doesn't exist (same for comments).
Yes, I can access /offers/{id} directly, but it's convenient to also be able to get entities while in the subresource path.
I hope I'm clear ^^
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.