-
Notifications
You must be signed in to change notification settings - Fork 34
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
Verify authenticity of signed payload #48
Conversation
@@ -31,21 +31,21 @@ Get all package versions from repository: | |||
```erlang | |||
> hex_repo:get_versions(Config). | |||
{ok, {200, ..., | |||
#{packages => [ |
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.
@ericmj to recap, previously we had:
> hex_repo:get_versions(Config)
{ok, {200, _, #{packages => Packages}}}
now we have:
> hex_repo:get_versions(Config)
{ok, {200, _, Packages}}
which means we'd no longer be able to associate any "metadata" with the versions resource in a backwards compatible way (adding new keys to the return map). I think that's OK, I can't think of anything we'd use it for, but just mentioning it. Thoughts?
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.
I think it's better this way, the other "metadata" wasn't really documented in the first place, right?
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.
Yup
No description provided.