Closed ejoffe closed 9 months ago
Ah, you are correct. My bad. Will flip it.
Looks right to me. The condition is to skip this field if use_merge_queue == true.
I tested it locally when building this branch and I get the error for merge queue. I think we only want to generate the MergeQueue section if use_merge_queue
is true, if false we exclude
Should be correct now. Good catch.
Not sure if I'm doing something wrong with my local build, but I'm getting:
panic: query PullRequests.viewer.pullRequests.nodes.mergeQueueEntry: Field 'mergeQueueEntry' doesn't exist on type 'PullRequest'
query PullRequests: Variable $no_merge_queue is declared by PullRequests but not used
I guess the skip directive doesn't work in this case, will try another approach.
I guess the skip directive doesn't work in this case, will try another approach.
👍, thanks for the help and spr in general, I really enjoy using it!
Much more involved fix pushed. I think this one should work for you. Let me know.
fixes #356
commit-id:0219e1da