api-platform / core

The server component of API Platform: hypermedia and GraphQL APIs in minutes
https://api-platform.com
MIT License
2.42k stars 863 forks source link

feat(processor): add missing context when generating iri for content … #6574

Open joelwurtz opened 3 weeks ago

joelwurtz commented 3 weeks ago

…location header

Q A
Branch? 3.2
Tickets
License MIT
Doc PR

When it generate the iri, it misses the context, so if we need some uri variables from the context to generate the route it will not work (like a object_id not available in the resource)

Without this, it will throw an error that it cannot generate an iri item for this resource