Skip to content

Commit 13651cb

Browse files
committed
Apply parse recursively
1 parent bb9e5fb commit 13651cb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/client.lisp

+4-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@
6262

6363
(defun %camel-case-hash-table->kebab-case-plist (hash-table)
6464
(loop :for (key . val) :in (hash-table-alist hash-table)
65-
:append (list (make-keyword (string-upcase (to-kebab-case key))) val)))
65+
:append (list (make-keyword (string-upcase (to-kebab-case key)))
66+
(if (typep val 'hash-table)
67+
(%camel-case-hash-table->kebab-case-plist val)
68+
val))))
6669

6770
(defun %build-query (query)
6871
(%kebab-case-plist->camel-case-alist query))

0 commit comments

Comments
 (0)