If the function f passed to enrich returns nil, use the value for db that was given to f instead of setting the :db effect on context to nil, which results in all changes to db being discarded.
I've updated the docs, added two tests, and fixed the existing test for enrich that was accidentally a no-op.
If the function
f
passed toenrich
returnsnil
, use the value fordb
that was given tof
instead of setting the:db
effect on context tonil
, which results in all changes todb
being discarded.I've updated the docs, added two tests, and fixed the existing test for
enrich
that was accidentally a no-op.Closes #750