only one way to change invoices -> datomic!

This commit is contained in:
Bryce Covert
2018-09-03 16:31:37 -07:00
parent 11a9e3c39c
commit 3ea31e8836
4 changed files with 40 additions and 25 deletions

View File

@@ -288,7 +288,7 @@
:total {:type 'Float}}}
:edit_invoice
{:fields {:id {:type 'Int}
{:fields {:id {:type 'String}
:invoice_number {:type 'String}
:date {:type 'String}
:total {:type 'Float}}}}
@@ -527,4 +527,9 @@
(query id q nil ))
([id q v]
(println "executing graphql query" id q v)
(time (simplify (execute schema q v {:id id})))))
(try
(time (simplify (execute schema q v {:id id})))
(catch Exception e
(println e)
(throw e))
)))