[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/graphql 9d4179cd4a 04/56: Simplify handling of fields
From: |
ELPA Syncer |
Subject: |
[elpa] externals/graphql 9d4179cd4a 04/56: Simplify handling of fields |
Date: |
Sat, 29 Oct 2022 13:57:52 -0400 (EDT) |
branch: externals/graphql
commit 9d4179cd4a5c410ebca9ac836f34bb6a3f5ca5b4
Author: Sean Allred <code@seanallred.com>
Commit: Sean Allred <code@seanallred.com>
Simplify handling of fields
`rest' here will always satisfy listp since it's the cdr of `graph'.
---
graphql.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/graphql.el b/graphql.el
index 3bdffe17cf..aaca889459 100644
--- a/graphql.el
+++ b/graphql.el
@@ -90,9 +90,7 @@
(format " %S") name)
(when rest
(format " { %s }"
- (if (listp rest)
- (mapconcat #'graphql--encode rest " ")
- (graphql--encode rest))))))))))
+ (mapconcat #'graphql--encode rest " ")))))))))
(defun graphql-encode (g)
"Encode G as a GraphQL string."
- [elpa] branch externals/graphql created (now 5ca5f50b5e), ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 1026c76d30 01/56: Initial commit, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 9d4179cd4a 04/56: Simplify handling of fields,
ELPA Syncer <=
- [elpa] externals/graphql 335ec3a9c5 08/56: More appropriate function names for argument encoding, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql a8067839b6 10/56: Rename `graphql--encode-argument-pair' to `*-spec', ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 1f4f1a61c9 11/56: Remove graphql-encode and replace it with graphql--encode, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql adf95c1d92 16/56: Compress output, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql f9dc451ae6 18/56: Simplify object encoding, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 0756399fc9 22/56: Test unnamed query, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql b0bd6c5fd8 02/56: Create DSL and basic encoder, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql fcc32d3d71 03/56: Simplify handling of spacing optional elements, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 3bf43e2ad1 05/56: Use real names of things, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 24d278dd43 06/56: Add support for variables in object parameters, ELPA Syncer, 2022/10/29