gitify icon indicating copy to clipboard operation
gitify copied to clipboard

feat(api): simplify discussions enrichment and use graphql-codegen for types

Open setchy opened this issue 4 weeks ago • 1 comments

This PR focuses on a few long standing improvements.

  • Use of graphql-codegen to generate types for GitHub GraphQL request/response shapes - closes #985
  • Refactor discussions enrichment query to use query > repository > discussion instead of query > search for a more targeted discussion result based on repo + discussion number

This also setups up the ground work for further enhancements that will be in separate follow-up PRs. Examples of this include refactoring the issue and pull request enrichment calls from REST to GraphQL, which will have a positive impact on reducing our use of API rate limits.

setchy avatar Dec 12 '25 17:12 setchy