emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/graphql 32933981a9 32/56: Add support for specifying Gr


From: ELPA Syncer
Subject: [elpa] externals/graphql 32933981a9 32/56: Add support for specifying GraphQL lists using Lisp vector syntax
Date: Sat, 29 Oct 2022 13:58:01 -0400 (EDT)

branch: externals/graphql
commit 32933981a9619b1ccb3f296dcbb7a076e0d8953d
Author: Sean Allred <code@seanallred.com>
Commit: Sean Allred <code@seanallred.com>

    Add support for specifying GraphQL lists using Lisp vector syntax
---
 graphql.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/graphql.el b/graphql.el
index cc2982e293..34f40bdbcd 100644
--- a/graphql.el
+++ b/graphql.el
@@ -58,6 +58,8 @@
     (format "{%s}" (mapconcat #'graphql--encode-argument-spec value ",")))
    ((stringp value)
     (format "\"%s\"" value))
+   ((vectorp value)
+    (format "[%s]" (mapconcat #'graphql-encode value ",")))
    ((numberp value)
     (number-to-string value))
    (t



reply via email to

[Prev in Thread] Current Thread [Next in Thread]