lsndr / school-calendar

This is an example application that demonstrates how to implement tactical DDD and other patterns in Node.js/Typescript.
MIT License
0 stars 0 forks source link

refactor: use cqrs #39

Closed lsndr closed 1 year ago

lsndr commented 1 year ago

closes #11

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 88.81% and project coverage change: +2.76% :tada:

Comparison is base (4d96a31) 87.89% compared to head (e9e13fb) 90.65%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #39 +/- ## ========================================== + Coverage 87.89% 90.65% +2.76% ========================================== Files 75 92 +17 Lines 1264 1445 +181 Branches 172 185 +13 ========================================== + Hits 1111 1310 +199 + Misses 140 125 -15 + Partials 13 10 -3 ``` | [Files Changed](https://app.codecov.io/gh/lsndr/school-calendar/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander) | Coverage Δ | | |---|---|---| | [...er/application/calendar/services/lessons.loader.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL2NhbGVuZGFyL3NlcnZpY2VzL2xlc3NvbnMubG9hZGVyLnRz) | `100.00% <ø> (ø)` | | | [...lication/lessons/commands/update-lesson.command.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL2xlc3NvbnMvY29tbWFuZHMvdXBkYXRlLWxlc3Nvbi5jb21tYW5kLnRz) | `0.00% <0.00%> (ø)` | | | [...cation/lessons/commands/assign-teachers.command.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL2xlc3NvbnMvY29tbWFuZHMvYXNzaWduLXRlYWNoZXJzLmNvbW1hbmQudHM=) | `90.90% <90.90%> (ø)` | | | [...tion/lessons/commands/unassign-teachers.command.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL2xlc3NvbnMvY29tbWFuZHMvdW5hc3NpZ24tdGVhY2hlcnMuY29tbWFuZC50cw==) | `92.59% <92.59%> (ø)` | | | [...r/application/schools/queries/find-school.query.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL3NjaG9vbHMvcXVlcmllcy9maW5kLXNjaG9vbC5xdWVyeS50cw==) | `93.33% <93.33%> (ø)` | | | [...ler/application/groups/queries/find-group.query.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL2dyb3Vwcy9xdWVyaWVzL2ZpbmQtZ3JvdXAucXVlcnkudHM=) | `93.75% <93.75%> (ø)` | | | [...application/teachers/queries/find-teacher.query.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL3RlYWNoZXJzL3F1ZXJpZXMvZmluZC10ZWFjaGVyLnF1ZXJ5LnRz) | `93.75% <93.75%> (ø)` | | | [...lication/lessons/commands/create-lesson.command.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL2xlc3NvbnMvY29tbWFuZHMvY3JlYXRlLWxlc3Nvbi5jb21tYW5kLnRz) | `94.28% <94.28%> (ø)` | | | [...application/subjects/queries/find-subject.query.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL3N1YmplY3RzL3F1ZXJpZXMvZmluZC1zdWJqZWN0LnF1ZXJ5LnRz) | `94.44% <94.44%> (ø)` | | | [...on/calendar/queries/get-teachers-calendar.query.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL2NhbGVuZGFyL3F1ZXJpZXMvZ2V0LXRlYWNoZXJzLWNhbGVuZGFyLnF1ZXJ5LnRz) | `95.23% <95.23%> (ø)` | | | ... and [17 more](https://app.codecov.io/gh/lsndr/school-calendar/pull/39?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander) | | ... and [5 files with indirect coverage changes](https://app.codecov.io/gh/lsndr/school-calendar/pull/39/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.