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: introduce `Transactional` decorator #50

Closed lsndr closed 1 year ago

lsndr commented 1 year ago

closes #42

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 95.58% and project coverage change: +0.32% :tada:

Comparison is base (54799cb) 87.31% compared to head (0c48cec) 87.64%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #50 +/- ## ========================================== + Coverage 87.31% 87.64% +0.32% ========================================== Files 100 102 +2 Lines 1553 1578 +25 Branches 182 185 +3 ========================================== + Hits 1356 1383 +27 + Misses 187 185 -2 Partials 10 10 ``` | [Files Changed](https://app.codecov.io/gh/lsndr/school-calendar/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander) | Coverage Δ | | |---|---|---| | [...lication/lessons/commands/update-lesson.command.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/50?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%> (ø)` | | | [src/modules/shared/cqrs/command.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2hhcmVkL2NxcnMvY29tbWFuZC50cw==) | `100.00% <ø> (ø)` | | | [src/modules/shared/cqrs/query.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2hhcmVkL2NxcnMvcXVlcnkudHM=) | `100.00% <ø> (ø)` | | | [...ared/database/decorators/transactional.fixtures.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2hhcmVkL2RhdGFiYXNlL2RlY29yYXRvcnMvdHJhbnNhY3Rpb25hbC5maXh0dXJlcy50cw==) | `88.23% <88.23%> (ø)` | | | [...pplication/groups/commands/create-group.command.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL2dyb3Vwcy9jb21tYW5kcy9jcmVhdGUtZ3JvdXAuY29tbWFuZC50cw==) | `100.00% <100.00%> (ø)` | | | [...cation/lessons/commands/assign-teachers.command.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL2xlc3NvbnMvY29tbWFuZHMvYXNzaWduLXRlYWNoZXJzLmNvbW1hbmQudHM=) | `89.65% <100.00%> (-1.26%)` | :arrow_down: | | [...lication/lessons/commands/create-lesson.command.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL2xlc3NvbnMvY29tbWFuZHMvY3JlYXRlLWxlc3Nvbi5jb21tYW5kLnRz) | `93.54% <100.00%> (-0.57%)` | :arrow_down: | | [...tion/lessons/commands/unassign-teachers.command.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL2xlc3NvbnMvY29tbWFuZHMvdW5hc3NpZ24tdGVhY2hlcnMuY29tbWFuZC50cw==) | `92.30% <100.00%> (-0.29%)` | :arrow_down: | | [...lication/schools/commands/create-school.command.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL3NjaG9vbHMvY29tbWFuZHMvY3JlYXRlLXNjaG9vbC5jb21tYW5kLnRz) | `100.00% <100.00%> (ø)` | | | [...cation/subjects/commands/create-subject.command.ts](https://app.codecov.io/gh/lsndr/school-calendar/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander#diff-c3JjL21vZHVsZXMvc2NoZWR1bGVyL2FwcGxpY2F0aW9uL3N1YmplY3RzL2NvbW1hbmRzL2NyZWF0ZS1zdWJqZWN0LmNvbW1hbmQudHM=) | `96.77% <100.00%> (-0.20%)` | :arrow_down: | | ... and [4 more](https://app.codecov.io/gh/lsndr/school-calendar/pull/50?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.