Skip to content

Support raw requests and responses #2270

@stianst

Description

@stianst

GitHub is continuously adding new endpoints and fields to existing endpoints, while understandably this library is not always able to support all the new things quickly. The official GitHub CLI client has the same problem, but supports sending any requests using gh api.

It would be nice to be able to create new API requests to endpoints not supported directly by the library, something like gitHub.createApiRequest.

Additionally, for existing endpoints that are supported there is sometimes request parameters or response fields that are not supported. It would be nice to have a way to leverage these without waiting for this library to support them. For example:

repository.searchPullRequests().parameter("newParam", "newValue");
issue.getField(String newField);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions