TASK: Also read property names from annotations#3559
Conversation
When collecting id properties for join columns also read properies annotated with the Id mapping from Doctrine ORM Resolves: neos#3558
|
Hej, thanks for your fix - Im not deep enough in that but i think even if i were i would have following questions:
|
The used annotation is not really relevant here. F
Is it a wish or requirement? Where should it be placed?
Agree, its more of s bugfix |
|
Hi, i found that there are several tests already using The reason id say add extend one in And this now definitely qualifies as bugfix to the lowest version which attempts to actually provide orm attributes in flow :) |
That would be 8.4 i think |
When collecting id properties for join columns
also read properies annotated with the Id
mapping from Doctrine ORM
resolved: #3558
Review instructions
Create a model
Awith a relation to another modelB.Before the patch:
The model
Bmust have the@Idtag to a property.After the patch:
The model
Bcan now use[ORM\Id]annotationThe property is now considered a
ID Property