From 966a5e58de34bc45f5d109d8bbd311618c1d02d5 Mon Sep 17 00:00:00 2001 From: Paula Gearon Date: Tue, 12 Jan 2021 21:19:09 -0500 Subject: [PATCH] updated schema definition --- project.clj | 2 +- src/asami/core.cljc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/project.clj b/project.clj index 9f51890..ce55c7d 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject org.clojars.quoll/asami "1.2.10" +(defproject org.clojars.quoll/asami "1.2.11" :description "An in memory graph store for Clojure and ClojureScript" :url "http://github.com/threatgrid/asami" :license {:name "Eclipse Public License" diff --git a/src/asami/core.cljc b/src/asami/core.cljc index d0ee028..9f80ea4 100644 --- a/src/asami/core.cljc +++ b/src/asami/core.cljc @@ -106,7 +106,8 @@ (s/optional-key :tx-triples) [[(s/one s/Any "entity") (s/one s/Any "attribute") (s/one s/Any "value")]] - (s/optional-key :executor) s/Any} + (s/optional-key :executor) s/Any + (s/optional-key :update-fn) (s/pred fn?)} [s/Any])) (s/defn transact