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
Repositories with an "Other" license lose their license #233
GET /repos/donnemartin/system-design-primer returns exactly that today. License.url is a String, so LicenseJSONConverter raises on it. RepositoryJSONConverter catches that error and sets Repository.license to None, so the repository converts but its license is gone, the same as if it had none.
GitHub's license-simple schema allows url and spdx_id to be null. Making License.url and License.spdx_id(String | None) would let an "Other" license come through. That changes the type of two public fields.
#220 makes malformed optional fields fail the conversion instead of falling back to the default. It leaves Repository.license lenient until this is fixed, because otherwise every repository with an "Other" license would fail to convert.
Activity
Fail conversion when an optional field has the wrong type (#234)
Accept null values in Release, User, and License fields (#255)