Skip to content

Commit

Permalink
SQL-197 more spec refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
milt committed Jul 24, 2023
1 parent 6ffc585 commit 58f1c9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/lrsql/ops/query/reaction.clj
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
:args (s/cat :bk rs/reaction-backend?
:tx transaction?
:input rs/query-reaction-input-spec)
:ret (s/every (s/map-of ::rs/condition-name ::xs/statement)))
:ret rs/query-reaction-ret-spec)

(defn query-reaction
"For the given reaction input, return matching statements named for conditions."
Expand Down
3 changes: 3 additions & 0 deletions src/main/lrsql/spec/reaction.clj
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,6 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Results
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(def query-reaction-ret-spec
(s/every (s/map-of ::condition-name ::xs/statement)))

0 comments on commit 58f1c9a

Please sign in to comment.