+
Skip to content

Conversation

GaryCXJk
Copy link

There was an issue with foreign keys in relations where it was unable to link the data. This was because the code assumed that the foreign key was also the property, however, when using a property definition, the property name changes, something the foreign key doesn't take into account.

What this fix does is it tries to resolve the property value based on its original field name, by using the magic method __get and the propertiesDefinition property.

This will also automatically map the relations properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载