Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap auto CID Insert error #13

Merged
merged 1 commit into from Mar 26, 2024
Merged

Wrap auto CID Insert error #13

merged 1 commit into from Mar 26, 2024

Conversation

expede
Copy link
Member

@expede expede commented Mar 26, 2024

Fixed a FIXME on creating an automatic CIDs as part of a store insert

@expede expede marked this pull request as ready for review March 26, 2024 02:23
Copy link

codecov bot commented Mar 26, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 12.90%. Comparing base (6affc01) to head (bc0a275).

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                  @@
##           test-deleg-store      #13      +/-   ##
====================================================
- Coverage             13.16%   12.90%   -0.27%     
====================================================
  Files                    68       68              
  Lines                  5658     5658              
  Branches               2712     2712              
====================================================
- Hits                    745      730      -15     
  Misses                 4319     4319              
- Partials                594      609      +15     
Files Coverage Δ
src/delegation/store/traits.rs 85.71% <50.00%> (ø)

... and 4 files with indirect coverage changes

Base automatically changed from test-deleg-store to v1.0-rc.1 March 26, 2024 11:12
fn insert(
&self,
delegation: Delegation<DID, V, C>,
) -> Result<(), CannotCidOr<Self::DelegationStoreError>> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would prefer if we rename Self::DelegationStoreError to Error and CannotCidOr to DelegationStoreError ✌️

However, I'll keep the PR train going and add another PR on top that will do that rename :P

@matheus23 matheus23 merged commit ff87859 into v1.0-rc.1 Mar 26, 2024
7 of 11 checks passed
@matheus23 matheus23 deleted the wrap_auto_cid_insert branch March 26, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants