Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.eachComputedProperty((name, meta) => {
if (meta.isRelationship) {
meta.key = name;
meta.name = name;
meta.parentModelName = modelName;
relationships[name] = relationshipFromMeta(meta);
}
});
return relationships;