Skip to content
This repository was archived by the owner on May 18, 2024. It is now read-only.

Commit ab97a07

Browse files
committed
Fix #64
1 parent e79b813 commit ab97a07

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "safe-typeorm",
3-
"version": "1.0.10",
3+
"version": "1.0.11",
44
"description": "Safe Relationship Decorators for the TypeORM",
55
"main": "lib/index.js",
66
"typings": "lib/index.d.ts",

src/transactions/InsertCollection.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ function getDependencies<T extends object>
153153
if (output === undefined)
154154
{
155155
output = new Set();
156+
dependencies.set(target, output);
157+
156158
for (const meta of connection.entityMetadatas)
157159
{
158160
const child: Creator<object> = meta.target as Creator<object>;
@@ -168,7 +170,6 @@ function getDependencies<T extends object>
168170
break;
169171
}
170172
}
171-
dependencies.set(target, output);
172173
}
173174
return output;
174175
}

0 commit comments

Comments
 (0)