Feature Request
What
when using a ManyToOne relation as the id of the entity without making it part of a composite key, this effectively turns the relation into a OneToOne.
Why
This got reported on Slack by someone forgetting to put the Id attribute on the other field expected to be part of their composite key.
How
The schema validator should report an error in this case to make debugging easier.
Feature Request
What
when using a
ManyToOnerelation as the id of the entity without making it part of a composite key, this effectively turns the relation into aOneToOne.Why
This got reported on Slack by someone forgetting to put the
Idattribute on the other field expected to be part of their composite key.How
The schema validator should report an error in this case to make debugging easier.