You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
User conversion fails when gravatar_id is null #235
GitHub's REST API description marks gravatar_id on simple-user as nullable ("type": "string", "nullable": true). UserJSONConverter reads it with as_string()? and User.gravatar_id is a String, so a user object with "gravatar_id": null fails to convert. Every model that holds a user then fails too: a repository's owner, an issue's user, and, after #220, a gist's owner, a repository's organization, and the user of a gist comment or commit.
I haven't seen GitHub send null here. Every user object I fetched has "". The schema allows it, though, so making User.gravatar_id(String | None) would match it. That changes the type of a public field.
Activity