Skip to content

Conversation

@setchy
Copy link
Member

This PR covers a few optimization items

  • combine graphql queries for discussion state and discussion url
  • extract function to perform filtering of results to a specific discussion node (reduce code duplication)
  • combine types
  • use client-side include directive to skip over-fetching comments/replies when not required
  • use graphql query variables instead of inline string building - closesrefactor GraphQL queries to use query variables #830

@setchysetchy added the enhancement New feature or enhancement to existing functionality label Mar 7, 2024
@setchy
Copy link
MemberAuthor

coveralls does it again 😅

@setchy
Copy link
MemberAuthor

merge conflict resolved

@setchy
Copy link
MemberAuthor

@afonsojramos - would you mind re-reviewing this when you get a chance please. I've incorporated your previous feedback.

@setchysetchy added refactor Refactoring of existing feature and removed enhancement New feature or enhancement to existing functionality labels Mar 15, 2024
@afonsojramosafonsojramos merged commit d8ff03f into gitify-app:mainMar 18, 2024
@setchysetchy deleted the refactor/discussion-graphql-queries branch March 18, 2024 14:48
adufr pushed a commit to adufr/gitify that referenced this pull request Mar 25, 2024
@setchysetchy added this to the Release 5.0.0 milestone Jul 17, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactorRefactoring of existing feature

Development

Successfully merging this pull request may close these issues.

refactor GraphQL queries to use query variables

2 participants

@setchy@afonsojramos