Prevent "random-uuid already refers to" warning

In Clojure 1.11 the function random-uuid was introduced in clojure.core
causing:

> WARNING: random-uuid already refers to: #'clojure.core/random-uuid in namespace: monger.util, being replaced by: #'monger.util/random-uuid
This commit is contained in:
Jacob Emcken 2022-09-03 08:20:28 +02:00
parent 32407c92f1
commit 69bb24b3d9

View file

@ -32,6 +32,7 @@
;; ---------------------------------------------------------------------------------- ;; ----------------------------------------------------------------------------------
(ns ^{:doc "Provides various utility functions, primarily for working with document ids."} monger.util (ns ^{:doc "Provides various utility functions, primarily for working with document ids."} monger.util
(:refer-clojure :exclude [random-uuid])
(:import java.security.SecureRandom (:import java.security.SecureRandom
java.math.BigInteger java.math.BigInteger
org.bson.types.ObjectId org.bson.types.ObjectId