-
Notifications
You must be signed in to change notification settings - Fork 22
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
Remove optional metadata query parameter #1218
Conversation
Codecov ReportBase: 54.16% // Head: 54.08% // Decreases project coverage by
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## main #1218 +/- ##
==========================================
- Coverage 54.16% 54.08% -0.09%
==========================================
Files 149 148 -1
Lines 14838 14799 -39
==========================================
- Hits 8037 8004 -33
+ Misses 5926 5921 -5
+ Partials 875 874 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Also need to remove parameter from clients:
- https://github.com/ipni/storetheindex/blob/main/api/v0/finder/client/http/client.go#L74
- https://github.com/ipni/storetheindex/blob/main/api/v0/finder/client/libp2p/client.go#L98-L107
- https://github.com/ipni/storetheindex/blob/main/api/v0/finder/client/interface.go#L23
- https://github.com/ipni/storetheindex/blob/main/command/providers.go#L62
@gammazero good catch, thanks. Removed - please re-review. |
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.
One suggestion.
Co-authored-by: Andrew Gillis <gammazero@users.noreply.github.com>
Remove metadata query parameter that changed behaviour of whether metadata has been included into extended provider results. Including metadata is required so that the client can correctly assemble extended provider results.