-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
Type: Breaking changeUsed to note any change that requires a major version bumpUsed to note any change that requires a major version bumpType: MaintenanceAny dependency, housekeeping, and clean up Issue or PRAny dependency, housekeeping, and clean up Issue or PR
Description
The endpoint()
method currently returns body
as the key holding the request body. We should rename it to data
to align with data
parameter in @octokit/request
: https://github.com/octokit/request.js/#the-data-parameter--set-request-body-directly
We can start by setting both .data
and .body
and then logging a deprecation message when .body
is accessed.
Metadata
Metadata
Assignees
Labels
Type: Breaking changeUsed to note any change that requires a major version bumpUsed to note any change that requires a major version bumpType: MaintenanceAny dependency, housekeeping, and clean up Issue or PRAny dependency, housekeeping, and clean up Issue or PR