Correct "effects" to "affects" in comments & docs

Their usage is commonly confused, but "affect" is usually a verb and
"effect" is usually a noun. In this case we want the verb. See also
https://www.merriam-webster.com/grammar/affect-vs-effect-usage-difference
This commit is contained in:
Stig Brautaset 2023-10-09 13:14:06 +01:00
parent 15e0c95cb6
commit 0fff06ec6b
No known key found for this signature in database
GPG key ID: 68D77873AEB4B2B9
4 changed files with 4 additions and 4 deletions

View file

@ -84,7 +84,7 @@ Using `create` with options to create the coercion instead of `coercion`:
:validate true
;; top-level short-circuit to disable request & response coercion
:enabled true
;; strip-extra-keys (effects only predefined transformers)
;; strip-extra-keys (affects only predefined transformers)
:strip-extra-keys true
;; add/set default values
:default-values true

View file

@ -83,7 +83,7 @@
:error-keys #{#_:type :coercion :in :schema :value :errors :humanized #_:transformed}
;; schema identity function (default: close all map schemas)
:compile mu/closed-schema
;; strip-extra-keys (effects only predefined transformers)
;; strip-extra-keys (affects only predefined transformers)
:strip-extra-keys true
;; add/set default values
:default-values true

View file

@ -123,7 +123,7 @@
:error-keys #{#_:type :coercion :in :schema :value :errors :humanized #_:transformed}
;; schema identity function (default: close all map schemas)
:compile mu/closed-schema
;; strip-extra-keys (effects only predefined transformers)
;; strip-extra-keys (affects only predefined transformers)
:strip-extra-keys true
;; add/set default values
:default-values true

View file

@ -97,7 +97,7 @@
:validate true
;; top-level short-circuit to disable request & response coercion
:enabled true
;; strip-extra-keys (effects only predefined transformers)
;; strip-extra-keys (affects only predefined transformers)
:strip-extra-keys true
;; add/set default values
:default-values true