Liking cljdoc? Tell your friends :D

lambdaconnect-sync.conflicts


override-creation-attributesclj

(override-creation-attributes object _internal-user _snapshot _entity now)

This function is applied to a freshly created object to set up its initial state. It is executed after the object was decoded from the input JSON. Note that the object will not contain any relationships nor the :db/id

This function is applied to a freshly created object to set up its initial state. It is executed after the object was decoded from the input JSON.
Note that the object will not contain any relationships nor the :db/id
sourceraw docstring

override-update-attributesclj

(override-update-attributes object _internal-user _snapshot _entity now)

This function is applied to an object that was just updated to alter its final state.

This function is applied to an object that was just updated to alter its final state.
sourceraw docstring

resolve-modification-conflictsclj

(resolve-modification-conflicts config
                                old-object
                                new-object
                                entity
                                _internal-user
                                snapshot)

This should throw an exception if the update is not allowed and solve any merge conflicts. This function must be pure as it is not certain if the database will be saved or rolled back.

This should throw an exception if the update is not allowed
and solve any merge conflicts. This function must be pure as it is not certain if the database will be saved or rolled back.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close