Skip to content

PullRequestPropHead schema inconsistency: label and user may be null #56

Closed
@frankie567

Description

@frankie567

Contrary to what GitHub schema states, the label and user fields may be null on PullRequestPropHead schema.

It happens when the underlying branch/repository of the pull request has been deleted. Example: https://api.github.com/repos/avelino/bottle-auth/pulls/15

It'll probably require to add another override in pyproject.toml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Rest APIbugSomething isn't workingschemaschema related

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions