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

feat: delete by record id #983

Merged

Conversation

tipusingh
Copy link
Contributor

Fixes #925

Signed-off-by: Tipu Singh [email protected]

@tipusingh tipusingh requested a review from a team as a code owner August 16, 2022 11:17
Copy link
Contributor

@genaris genaris left a comment

Choose a reason for hiding this comment

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

Good one! I've left some comments with doubts and suggestions.

@codecov-commenter
Copy link

codecov-commenter commented Aug 16, 2022

Codecov Report

Merging #983 (4d17369) into main (1eaf995) will decrease coverage by 0.05%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##             main     #983      +/-   ##
==========================================
- Coverage   88.18%   88.12%   -0.06%     
==========================================
  Files         487      487              
  Lines       11532    11553      +21     
  Branches     1832     1923      +91     
==========================================
+ Hits        10169    10181      +12     
+ Misses       1359     1310      -49     
- Partials        4       62      +58     
Impacted Files Coverage Δ
...rc/modules/generic-records/GenericRecordsModule.ts 72.09% <50.00%> (-3.59%) ⬇️
packages/core/src/storage/IndyStorageService.ts 92.62% <50.00%> (-2.21%) ⬇️
packages/core/src/storage/Repository.ts 95.83% <60.00%> (-4.17%) ⬇️
...es/generic-records/service/GenericRecordService.ts 87.09% <75.00%> (-1.80%) ⬇️
packages/node/src/NodeFileSystem.ts 37.14% <0.00%> (ø)
packages/core/src/crypto/JwsService.ts 90.90% <0.00%> (ø)
packages/core/src/agent/MessageSender.ts 87.36% <0.00%> (ø)
packages/core/src/agent/MessageReceiver.ts 80.76% <0.00%> (ø)
packages/core/src/modules/ledger/IndyPool.ts 82.92% <0.00%> (ø)
packages/core/src/modules/proofs/ProofsModule.ts 79.11% <0.00%> (ø)
... and 21 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@tipusingh tipusingh requested a review from genaris August 16, 2022 14:11
@tipusingh tipusingh requested a review from genaris August 17, 2022 07:16
@berendsliedrecht
Copy link
Contributor

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs Vulnerability A 0 Vulnerabilities Security Hotspot A 0 Security Hotspots Code Smell A 2 Code Smells

No Coverage information No Coverage information 0.0% 0.0% Duplication

@TimoGlastra Is this something we added?

Copy link
Contributor

@TimoGlastra TimoGlastra left a comment

Choose a reason for hiding this comment

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

This is great @tipusingh! Left one minor suggestion

packages/core/src/storage/IndyStorageService.ts Outdated Show resolved Hide resolved
@TimoGlastra
Copy link
Contributor

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed
Bug A 0 Bugs Vulnerability A 0 Vulnerabilities Security Hotspot A 0 Security Hotspots Code Smell A 2 Code Smells
No Coverage information No Coverage information 0.0% 0.0% Duplication

@TimoGlastra Is this something we added?

No idea where this is coming from. I'm not really a fan of sonarcloud, as it always annoys you about things that are not really a problem. But happy to keep it in if we think it helps

@tipusingh tipusingh requested a review from TimoGlastra August 17, 2022 11:53
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@TimoGlastra TimoGlastra merged commit d8a30d9 into openwallet-foundation:main Aug 17, 2022
@genaris
Copy link
Contributor

genaris commented Aug 17, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed
Bug A 0 Bugs Vulnerability A 0 Vulnerabilities Security Hotspot A 0 Security Hotspots Code Smell A 2 Code Smells
No Coverage information No Coverage information 0.0% 0.0% Duplication

@TimoGlastra Is this something we added?

No idea where this is coming from. I'm not really a fan of sonarcloud, as it always annoys you about things that are not really a problem. But happy to keep it in if we think it helps

I've seen that recently it started to run in other projects (such as ACA-Py and aries-mobile-agent-react-native). Could be a group setting?

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.

Add deleteById method to storage service that doesn't require the record
6 participants