Skip to content

[Feature]: Use GraphQL to query GitHub Releases #80

@Malcolmnixon

Description

@Malcolmnixon

Problem Statement

The Octokit client.Repository.Release.GetAll(owner, repo) should be replaced with GraphQL queries.

Proposed Solution

Replace the client.Repository.Releaee.GetAll(owner, repo) with a call to a new GitHubGraphQLClient method to get repo releases, and add the appropriate GraphQL types in GitHubGraphQLTypes.cs

Remember to implement automatic paging just like the other methods of GitHubGraphQLCLient.

Alternatives Considered

No response

Usage Examples

Benefits

Replace more Octokit APIs with GraphQL.

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

Metadata

Metadata

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions