Actions
Evolution #1875
ouvertConsistent use of foreign entries
Début:
28/09/2024
Echéance:
% réalisé:
0%
Temps estimé:
Vote:
Description
Foreign key related values are handled differently... Some rely on properties that can be either null
, the id as integer, or even an object instance. Sometimes it's just object instance, other times just the ID...
That's quite hard to understand; and that also can cause issues if we want to rely on an ORM like Doctrine.
- a local property name that uses the
Object::PK
, - another one for the instantiated object; loaded per dependency/on demand.
Some foreign values are only loaded on demand, but some other are always loaded and tha cannot be changed (Title in the Adherent class for example).
Actions