Skip to content

Commit

Permalink
Fixes private field of target relation being reset - #9712 (#9713)
Browse files Browse the repository at this point in the history
Thank you for this improvement !
  • Loading branch information
velopert committed Apr 20, 2021
1 parent 9ce011b commit 19a15b4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ const generateRelation = ({ key, attribute, plugin, modelName, targetAttribute =
plugin,
columnName: attribute.targetColumnName || undefined,
autoPopulate: targetAttribute.autoPopulate,
private: targetAttribute.private || undefined,
};

switch (attribute.nature) {
Expand Down

0 comments on commit 19a15b4

Please sign in to comment.