-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
enhancementNew feature or requestNew feature or request
Description
Problem Statement
The Octokit client.PullRequest.GetAllForRepository needs to be replaced with GraphQL
Proposed Solution
Replace the client.PullRequest.GetAllForRepository calls with a call to a new GitHubGraphQLClient.GetPullRequests which uses GraphQL. Note that the Octokit query uses State = ItemStateFilter.All to get pull requests in any state (open, closed, etc.) and the GraphQL can just hard-code the query to get all.
The new GraphQL records can be created in GitHubGraphQLTypes.cs
The new tests should be implemented in a GitHubGraphQLClientGetPullRequestsTests.cs file
Alternatives Considered
No response
Usage Examples
Benefits
More removal of Octokit usage.
Priority
Medium - Would improve my workflow
Willingness to Contribute
Yes, I can submit a pull request
Additional Context
No response
Checklist
- I have searched existing issues to ensure this is not a duplicate
- I have provided a clear description of the feature
- I have explained why this feature would be useful
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request