We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2231742 commit 819bcb8Copy full SHA for 819bcb8
src/core/executors/ExecutorBase.ts
@@ -49,7 +49,11 @@ export default abstract class ExecutorBase {
49
50
public enqueueDelta(delta: CoreDelta<SupportedModel>): void {
51
logMethodCall("ExecutorBase.enqueueDelta", { delta });
52
- // deep copy (snapshot)
+ /**
53
+ * deep copy (snapshot)
54
+ * if we add alias and then login to a user, we want to ensure that the external id of the
55
+ * login call doesn't get included in the add alias call so this helps keep the changes separate
56
+ */
57
const deltaCopy = JSON.parse(JSON.stringify(delta));
58
this._deltaQueue.push(deltaCopy);
59
}
0 commit comments