all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: guix-devel@gnu.org
Cc: arunisaac@systemreboot.net, rekado@elephly.net
Subject: [PATCH] web: Include blocked-by in graphql <issue>.
Date: Tue, 30 May 2023 09:17:33 +0100	[thread overview]
Message-ID: <20230530081733.27209-1-mail@cbaines.net> (raw)

* mumi/web/graphql.scm (<issue>): Include blocked-by.
---
 mumi/web/graphql.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/mumi/web/graphql.scm b/mumi/web/graphql.scm
index aa4f38c..3cc19cd 100644
--- a/mumi/web/graphql.scm
+++ b/mumi/web/graphql.scm
@@ -63,7 +63,10 @@
               (list))))
   (messages (non-nullable-type (list-type <email>))
             (lambda (parent . _)
-              (issue-messages (bug-num parent)))))
+              (issue-messages (bug-num parent))))
+  (blocked-by (non-nullable-type (list-type <issue>))
+              (lambda (parent . _)
+                (map bug-status (bug-blockedby parent)))))
 
 (define-object-type <person>
   (name <string> (lambda (parent . _)
-- 
2.40.1



             reply	other threads:[~2023-05-30  8:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-30  8:17 Christopher Baines [this message]
2023-05-30  8:49 ` [PATCH] web: Include blocked-by in graphql <issue> Christopher Baines
2023-05-30 16:20   ` Arun Isaac
2023-05-30 17:39     ` Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230530081733.27209-1-mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=arunisaac@systemreboot.net \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.