Regarding this specific bug, I would guess that the fromRoot projection needs to be careful to only call the inner projection once per root document.
Essentially that means some kind of knowledge of the root ID in the Values created by the fromRoot projection. I think it’s doable, let’s discuss it on Zulip. |