api-platform
api-platform copied to clipboard
After migrating to API Platform 3, some IRI resources are inconsistent
Hello
API Platform version(s) affected: 3.1.13
Description
We recently migrated to API Platform 3.
We found an inconsistency in the identifiers of some API resources (@id) When we perform a creation request on the Customer resource, the IRI identifier on the response does not correspond to the resource.
Instead of containing "@id": "/customers/xxxxxx" it contains "@id": "/customers/xxxx/insurances".
However, the type key does contain the definition of the desired resource: "@type": "Customer"
Do you have any idea what scenarios I need to inspect to correct this issue? This is quite blocking because our client applications react dynamically to the IRIs contained in the API responses.
Thank you 🤞