Skip to content

feat: add Projections support#95

Merged
ar3s3ru merged 4 commits intomasterfrom
feature/projections
Aug 14, 2020
Merged

feat: add Projections support#95
ar3s3ru merged 4 commits intomasterfrom
feature/projections

Conversation

@ar3s3ru
Copy link
Copy Markdown
Collaborator

@ar3s3ru ar3s3ru commented Aug 13, 2020

Closes #93

This PR adds support for the Projection trait, and a Projector component to run and update a Projection in-memory.

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 13, 2020

Codecov Report

Merging #95 into master will increase coverage by 2.23%.
The diff coverage is 78.84%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
+ Coverage   51.95%   54.18%   +2.23%     
==========================================
  Files          13       14       +1     
  Lines         666      716      +50     
==========================================
+ Hits          346      388      +42     
- Misses        320      328       +8     
Flag Coverage Δ
#unit 54.18% <78.84%> (+2.23%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
eventually-test/src/api.rs 12.72% <0.00%> (-0.36%) ⬇️
eventually-util/src/inmemory/store.rs 92.13% <ø> (ø)
eventually-test/src/order.rs 26.96% <57.14%> (+2.57%) ⬆️
eventually-util/src/inmemory/projector.rs 85.71% <85.71%> (ø)
eventually-test/src/lib.rs 97.22% <100.00%> (+1.38%) ⬆️
eventually-test/tests/acceptance_tests.rs 94.73% <100.00%> (ø)
eventually-core/src/store.rs 48.27% <0.00%> (+6.89%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update af6c6d4...d5c0b38. Read the comment docs.

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@ar3s3ru ar3s3ru changed the title Feature/projections feat: add Projections support Aug 14, 2020
@ar3s3ru ar3s3ru added eventually Issue or Pull Request involves eventually crate eventually-core Issue or Pull Request involves eventually-core crate eventually-util Issue or Pull Request involves eventually-util crate feature New feature or request labels Aug 14, 2020
@ar3s3ru ar3s3ru merged commit b1ace11 into master Aug 14, 2020
@ar3s3ru ar3s3ru deleted the feature/projections branch August 14, 2020 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

eventually Issue or Pull Request involves eventually crate eventually-core Issue or Pull Request involves eventually-core crate eventually-util Issue or Pull Request involves eventually-util crate feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

eventually-core: add Projection trait

1 participant