branch: externals/graphql commit 32933981a9619b1ccb3f296dcbb7a076e0d8953d Author: Sean Allred <c...@seanallred.com> Commit: Sean Allred <c...@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