only one way to change invoices -> datomic!
This commit is contained in:
@@ -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))
|
||||
)))
|
||||
|
||||
Reference in New Issue
Block a user