Skip to content

Commit

Permalink
Don't override default Malli registry (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
crisptrutski authored Nov 4, 2024
1 parent af03556 commit cd8de13
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/macaw/util/malli/registry.clj
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@

(defonce ^:private registry (malli.registry/mutable-registry registry*))

(malli.registry/set-default-registry! registry)

(defn register!
"Register a spec with our Malli spec registry."
[schema definition]
Expand Down
3 changes: 3 additions & 0 deletions test/resources/acceptance/queries.sql
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ FROM user;
-- FIXTURE: simple/select-star
SELECT * FROM t;

-- FIXTURE: simple/select-count
SELECT COUNT(*) FROM t;

-- FIXTURE: snowflakelet
SELECT
column_2564,
Expand Down
3 changes: 3 additions & 0 deletions test/resources/acceptance/simple__select_count.analysis.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{:has-wildcard? #{}
:source-columns []
:tables [{:table "t"}]}

0 comments on commit cd8de13

Please sign in to comment.