-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Open
Copy link
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: BugSomething isn't working as documentedSomething isn't working as documentedhacktoberfestIssues for participation in HacktoberfestIssues for participation in Hacktoberfest
Description
What happened?
Using the provided iterator
function for the octokit.rest.repos.getAllEnvironments
endpoint results in a normalized response where the environments
key under response.data
is replaced by the environments keyed by their index. This causes the response object to no longer match the response type.
I expected the response to not need normalization and simply return just like the typehinting was telling me.
Versions
Octokit/rest v20.0.1, Deno v1.36.4
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: BugSomething isn't working as documentedSomething isn't working as documentedhacktoberfestIssues for participation in HacktoberfestIssues for participation in Hacktoberfest
Type
Projects
Status
🔥 Backlog