Skip to content

Commit

Permalink
add comment hopefully clarifying why we pass this._sourceDbChanges
Browse files Browse the repository at this point in the history
  • Loading branch information
nick4598 committed Dec 5, 2024
1 parent 7778b94 commit 1b6c0ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/transformer/src/IModelExporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export class IModelExporter {
this._sourceDbChanges = await ChangedInstanceIds.initialize({
iModel: this.sourceDb,
...options,
sourceDbChanges: this._sourceDbChanges,
sourceDbChanges: this._sourceDbChanges, // Pass along any already present sourceDbChanges, just incase someone has called the sourceDbChanges getter and added some custom changes to it.
});
this._initialized = true;
if (this._sourceDbChanges === undefined) return;
Expand Down

0 comments on commit 1b6c0ff

Please sign in to comment.