all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] web: Include blocked-by in graphql <issue>.
@ 2023-05-30  8:17 Christopher Baines
  2023-05-30  8:49 ` Christopher Baines
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Baines @ 2023-05-30  8:17 UTC (permalink / raw)
  To: guix-devel; +Cc: arunisaac, rekado

* 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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-30 17:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-30  8:17 [PATCH] web: Include blocked-by in graphql <issue> Christopher Baines
2023-05-30  8:49 ` Christopher Baines
2023-05-30 16:20   ` Arun Isaac
2023-05-30 17:39     ` Christopher Baines

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.