json_pr_issue_base.rb
# returns the gql_request query string for issues or PR's
returns the gql_request query string for issues or PR's
returns the gql_request query string for issues or PR ' s
def gql_query_str(obj, filter)
    <<~GRAPHQL
      query {
        repository(owner: "#{OWNER}", name: "#{REPO}") {
          #{obj}(#{filter}) {
            edges {
              node {
                number
                createdAt
                closedAt
                state
                title
                author {
                  ... on User {
                    login
                    name
                  }
                }
              }
            }
            pageInfo {
              endCursor
              hasNextPage
            }
          }
        }
      }
    GRAPHQL
  end
def gql_query_str ( obj , filter ) <<~GRAPHQL 
      query {
        repository(owner: " #{ OWNER } ", name: " #{ REPO } ") {
           #{ obj } ( #{ filter } ) {
            edges {
              node {
                number
                createdAt
                closedAt
                state
                title
                author {
                  ... on User {
                    login
                    name
                  }
                }
              }
            }
            pageInfo {
              endCursor
              hasNextPage
            }
          }
        }
      }
     GRAPHQL end
returns the gql_request query string for issues or PR's
returns the gql_request query string for issues or PR ' s
obj
<not_specific>
filter
<not_specific>