You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for pedestal states, that effect functions configured in dataflow description under :effect key should trigger when value in data model at configured path changes.
However, i'm experiencing different behavior, such that all effect functions are called first time even when there is no data (and therefore no change) at configured path.
Even when there is no data at the path [:app :new-workflow :form :sending] at the initialisation, the function publish-new-workflow is called with nil argument for the first time, after that it works fine, and the function is called only when data at path [:app :new-workflow :form :sending] changes.
Operating System: Ubuntu 13.10 Saucy Salamander
Leiningen version: Leiningen 2.3.3 on Java 1.7.0_45 Java HotSpot(TM) 64-Bit Server VM
Pedestal version: 0.2.2-SNAPSHOT
Steps to reproduce: Define dataflow with effect function under :effect key and configure the function to use the path in the data model with no starting data, observe how the function is called with nil value for the first time after building the dataflow and consuming effects.
The text was updated successfully, but these errors were encountered:
The documentation for pedestal states, that effect functions configured in dataflow description under :effect key should trigger when value in data model at configured path changes.
However, i'm experiencing different behavior, such that all effect functions are called first time even when there is no data (and therefore no change) at configured path.
Consider following code:
Even when there is no data at the path [:app :new-workflow :form :sending] at the initialisation, the function publish-new-workflow is called with nil argument for the first time, after that it works fine, and the function is called only when data at path [:app :new-workflow :form :sending] changes.
Operating System: Ubuntu 13.10 Saucy Salamander
Leiningen version: Leiningen 2.3.3 on Java 1.7.0_45 Java HotSpot(TM) 64-Bit Server VM
Pedestal version: 0.2.2-SNAPSHOT
Steps to reproduce: Define dataflow with effect function under :effect key and configure the function to use the path in the data model with no starting data, observe how the function is called with nil value for the first time after building the dataflow and consuming effects.
The text was updated successfully, but these errors were encountered: