Skip to content

Deal with nullability of owner data #839

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

Merged
merged 1 commit into from
Jun 18, 2020
Merged

Conversation

Nemo157
Copy link
Member

@Nemo157 Nemo157 commented Jun 18, 2020

Most of the owner fields can be null, depending on what data was available from the Github API when crates.io scraped it. The old implementation turned any null field into an empty string, which still seems like the best approach.

@Nemo157 Nemo157 force-pushed the fix-owners branch 2 times, most recently from e90e1c7 to 03271dc Compare June 18, 2020 14:47
Copy link
Member

@jyn514 jyn514 left a comment

Choose a reason for hiding this comment

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

Tested this locally with a crate that had a null owner.name and everything works fine.

@jyn514
Copy link
Member

jyn514 commented Jun 18, 2020

For reference: this is a follow-up to #813 that fixes some bugs I found while testing locally.

@jyn514 jyn514 merged commit b35949e into rust-lang:master Jun 18, 2020
@Nemo157 Nemo157 deleted the fix-owners branch June 18, 2020 15:03
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.

2 participants