making it loadable.

This commit is contained in:
BC
2019-01-24 20:41:39 -08:00
parent c2eb0c61e7
commit bf6fc06244
6 changed files with 68 additions and 36 deletions

View File

@@ -31,8 +31,8 @@
:scalars {:id {
:parse (schema/as-conformer #(Long/parseLong %))
:serialize (schema/as-conformer #(.toString %))}
:ident {:parse (schema/as-conformer (fn [x] {:ident x}))
:serialize (schema/as-conformer #(do (println %) (:ident %)))}}
:ident {:parse (schema/as-conformer (fn [x] {:db/ident x}))
:serialize (schema/as-conformer #(or (:ident %) (:db/ident %) %))}}
:objects
{
:client
@@ -499,5 +499,4 @@
(time (simplify (execute schema q v {:id id})))
(catch Exception e
(println e)
(throw e))
)))
(throw e)))))