Resolving IRIs to Doctrine Entities with the Object Mapper
In api-platform/core#8587 a user wanted to POST an Activity with an IRI for its user and ended up parsing the IRI with a regex. Their $user was a string, so API Platform had no relation to resolve, and typing it with the entity doesn’t work either because an IRI resolves to the resource the API exposes, not to the entity.