Skip to content

Conversation

@robbieaverill
Copy link
Collaborator

@robbieaverill robbieaverill commented Mar 3, 2022

@robbieaverill
Copy link
Collaborator Author

Hmm, $client->get('happyr/translation-bundle') returns the correct number of downloads. This means that /packages/happyr/translation-bundle.json includes this metadata but /p/happyr/translation-bundle.json does not. In this case I think we should make the downloads property nullable on Package instead of hydrating a Downloads object with 0 in it, since this is misleading.

@robbieaverill robbieaverill force-pushed the bugfix/nullable-downloads branch from b04d912 to d8dafdf Compare March 3, 2022 00:35
@robbieaverill robbieaverill force-pushed the bugfix/nullable-downloads branch from d8dafdf to bbe7d62 Compare March 3, 2022 00:39
@robbieaverill robbieaverill merged commit 7378342 into KnpLabs:master Mar 3, 2022
@robbieaverill robbieaverill deleted the bugfix/nullable-downloads branch March 3, 2022 01:19
@JellyBellyDev
Copy link
Contributor

LGTM 👍

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.

Downloads can be empty

2 participants