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 a8ba409 commit dfaf76fCopy full SHA for dfaf76f
lib/core/src/domain-events/domain-event.ts
@@ -42,12 +42,6 @@ export function DomainEvent(
42
43
DomainEventMap.add(Class);
44
45
- const hasAggregateId = AggregateId.hasId(Class);
46
- const hasEntityId = EntityId.hasId(Class);
47
-
48
- console.log('hasAggregateId: ', hasAggregateId);
49
- console.log('hasEntityId: ', hasEntityId);
50
51
return class extends Class {
52
constructor(...args: unknown[]) {
53
super(...args);
@@ -67,9 +61,6 @@ export function DomainEvent(
67
61
68
62
if (requireEntityId && !EntityId.hasId(this))
69
63
throw new IllegalStateException(`TODO: Description`);
70
71
72
73
64
}
74
65
};
75
66
} as ClassDecorator;
0 commit comments