From 8607f1da4b87857ebb0b7e240732e050f3c09055 Mon Sep 17 00:00:00 2001 From: Brett Adams Date: Sun, 17 Nov 2024 12:36:28 -0500 Subject: [PATCH] default to namespaced key for context key --- CHANGELOG.md | 5 ++++- src/zodiac/ext/sql.clj | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 639c1cc..5cc1f02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Change Log +* 0.1.7 -- 2024-11-17 + - Default to namespaced key for context key + * 0.1.3 -- 2024-11-16 - * Initial public version + - Initial public version diff --git a/src/zodiac/ext/sql.clj b/src/zodiac/ext/sql.clj index 3196080..15b7c39 100644 --- a/src/zodiac/ext/sql.clj +++ b/src/zodiac/ext/sql.clj @@ -94,7 +94,7 @@ (seq query) (str "?" query)))) (defn init [{:keys [spec context-key jdbc-options] - :or {context-key :db} + :or {context-key ::db} :as _options}] (fn [config] (-> config