-
-
Notifications
You must be signed in to change notification settings - Fork 950
Description
API Platform version(s) affected: 4.1.17
Description
After the PR, the behaviour of using genId has been changed.
How to reproduce
In Sylius, we set genId="false" on a single property (here). After the changes introduced by this PR, all properties nested inside it now inherit genId="false" as well, which causes the returned IRI to be using a different strategy than before. This if statement is now ommitted. Even though I explicitly declare genId="true" for those child properties in a separate property configuration, that override is ignored.
Possible Solution
Be able to explicitly define the genId for given property.
Additional Context
Failing builds on Sylius: https://github.com/Sylius/Sylius/actions/runs/15963124014/job/45018806151#step:11:37