-
-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Environment
Reproduction
Describe the bug
Using an array of strings as foreignKey in belongsTo results in incorrectly mapped objects.
In the reproduction link, I have added a group to each user (one-to-many) given by the foreignKey groupId. It works well for simple primary keys, but as soon as I use composite keys the group of the user is incorrectly mapped. This seems to happen whatever the amount of fields part of the composite primary and foreign keys, as long as it is an array.
Additional context
No response
Logs
No response
CodeDredd
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers