Skip to content

Replace dynamically constructed GraphQL query strings with githubv4 library #757

Open

Description

@mislav

This is part of an incremental transition from a hand-rolled to a more sophisticated GraphQL query + parsing mechanism.

  • RepoNetwork
    err := client.GraphQL(fmt.Sprintf(`
  • PullRequestList

    cli/api/queries_pr.go

    Lines 523 to 525 in c0c2862

    // If assignee was specified, use the `search` API rather than
    // `Repository.pullRequests`, but this mode doesn't support multiple labels
    if assignee, ok := vars["assignee"].(string); ok {

Follow up to #719
Ref. #190

Activity

  1. added
    tech-debt
    on Apr 8, 2020
  2. added
    core
    on Oct 7, 2020
  3. added
    enhancement
    on Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreenhancementtech-debt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions