Skip to content

Commit dfaf76f

Browse files
committed
fix(core): removed logs
1 parent a8ba409 commit dfaf76f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/core/src/domain-events/domain-event.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ export function DomainEvent(
4242

4343
DomainEventMap.add(Class);
4444

45-
const hasAggregateId = AggregateId.hasId(Class);
46-
const hasEntityId = EntityId.hasId(Class);
47-
48-
console.log('hasAggregateId: ', hasAggregateId);
49-
console.log('hasEntityId: ', hasEntityId);
50-
5145
return class extends Class {
5246
constructor(...args: unknown[]) {
5347
super(...args);
@@ -67,9 +61,6 @@ export function DomainEvent(
6761

6862
if (requireEntityId && !EntityId.hasId(this))
6963
throw new IllegalStateException(`TODO: Description`);
70-
71-
console.log('hasAggregateId: ', hasAggregateId);
72-
console.log('hasEntityId: ', hasEntityId);
7364
}
7465
};
7566
} as ClassDecorator;

0 commit comments

Comments
 (0)