-
Notifications
You must be signed in to change notification settings - Fork 44
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
Read & Query HTTP APIs - Part 2 #129
Conversation
… http-query-api
… read-query-apis-part2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a question regarding returning 404 instead of 401.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, made a bunch of refactoring. Only tests is left to bring new code coverage up.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #129 +/- ##
==========================================
- Coverage 94.43% 94.07% -0.37%
==========================================
Files 25 25
Lines 2247 2362 +115
Branches 299 315 +16
==========================================
+ Hits 2122 2222 +100
- Misses 124 139 +15
Partials 1 1 ☔ View full report in Codecov by Sentry. |
Let's just merge it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After adding some tests this is in a good place.
Once decentralized-identity/dwn-sdk-js#739 is complete, we can clean up some of this code that does a RecordsQuery
followed by a RecordsRead
with only the RecordsRead
.
This will also allow us to clean up some of the potentially unreachable codepaths in place today.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A send-it approval, given the amount of tests that were added.
🐐 @LiranCohen.
Co-authored-by: Henry Tsai <[email protected]> Co-authored-by: Liran Cohen <[email protected]>
No description provided.