Skip to content

Commit 50da02b

Browse files
authored
Merge pull request #1099 from metosin/fix/doc-differences
doc: mu/assoc and mu/dissoc only handle one key at a time
2 parents 7d64597 + 4408c25 commit 50da02b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/malli/util.cljc

+2-2
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
options)))
293293

294294
(defn dissoc
295-
"Like [[clojure.core/dissoc]], but for EntrySchemas."
295+
"Like [[clojure.core/dissoc]], but for EntrySchemas. Only supports one key at a time."
296296
([?schema key]
297297
(dissoc ?schema key nil))
298298
([?schema key options]
@@ -328,7 +328,7 @@
328328
(when schema (m/-get schema k default)))))
329329

330330
(defn assoc
331-
"Like [[clojure.core/assoc]], but for LensSchemas."
331+
"Like [[clojure.core/assoc]], but for LensSchemas. Only supports one key-value pair at a time."
332332
([?schema key value]
333333
(assoc ?schema key value nil))
334334
([?schema key value options]

0 commit comments

Comments
 (0)