This may be an infinite loop.
The current recursion limit is 16 (set by the :recursion-limit option of fire-rules).
Cycle detected! :drews.national-institutes-of-health/foo is triggering itself.
Try using {:then false} to prevent triggering rules in an infinite loop.
i expected their to be no loop because while the first insert would pass because (not= 10 1) is true, on the second (not= 10 10) would be false and it would stop. For reasons i don't understand if i hardcode the id passed to insert:
this code
results in this error
i expected their to be no loop because while the first insert would pass because (not= 10 1) is true, on the second (not= 10 10) would be false and it would stop. For reasons i don't understand if i hardcode the id passed to insert:
It works, this implies whats being compared, by the then block, is really it per entity. is that right?