[Schema Inaccuracy] Pull Request Files Changed blob_url
, raw_url
, and sha
should be nullable
#1945
Labels
blob_url
, raw_url
, and sha
should be nullable
#1945
Schema Inaccuracy
When a PR changes a submodule, the
blob_url
andraw_url
arenull
, in some other cases that I can't pin down thesha
field is null. However, the current schema marks these fields as non-nullable.Expected
blob_url
,raw_url
, andsha
in PR files changed responses should be marked as nullable.Reproduction Steps
$ curl https://api.github.com/repos/pytorch/pytorch/pulls/89846/files
The above PR changes a submodule, the fields can be seen to be nullable there.
The text was updated successfully, but these errors were encountered: