Skip to content
Snippets Groups Projects
Unverified Commit 31469f2f authored by Cal Herries's avatar Cal Herries Committed by GitHub
Browse files

Exclude metabase.sync* and metabase.upload* from malli instrumentation (#38206)

parent 45080ad6
No related branches found
No related tags found
No related merge requests found
......@@ -303,7 +303,9 @@
"Used to track namespaces to not enforce malli schemas on with `mu.fn/fn`."
[namespace]
(let [lib-and-middleware [#"^metabase\.lib\..*"
#"^metabase\.query-processor\.middleware\..*"]
#"^metabase\.query-processor\.middleware\..*"
#"^metabase\.sync.*"
#"^metabase\.upload.*"]
matches? (core/fn [namespace regexes]
(let [n (-> namespace ns-name str)]
(some #(re-matches % n) regexes)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment