Skip to content

Commit

Permalink
wip: updating models with readers and editors
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-jonathan committed Jan 2, 2024
1 parent 4a657af commit 3847f1b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cosmicmind/domainjs",
"version": "0.0.1-rc-010224-4-b",
"version": "0.0.1-rc-010224-4-c",
"description": "A domain-driven design framework for scalable systems.",
"keywords": [],
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/Aggregate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import {
export abstract class Aggregate<E extends Entity, T extends EventTopics = EventTopics> extends EventObservable<T> {
protected root: E

protected constructor(root: E) {
constructor(root: E) {
super()
this.root = 'function' === typeof this.prepare ? this.prepare(root) : root
}
Expand Down

0 comments on commit 3847f1b

Please sign in to comment.