E.g. this very simple query does not work for some reason:
fromStream(‘mystreamname’).when({
$init: () => ({
total: 0
}),
BarcodeRegistered: (s,e) => {
s.total++;
}
});
I just get: "Falure (tap notification to dismiss) Query not update
(not very informative error message).
The debug button seems to do nothing.
The only info on practical using query window was a non EventStore guy showing something on youtube. And then there is the SINGLE and only example here: https://eventstore.org/docs/projections/user-defined-projections/index.html which does not run either (when I replace stream name with my stream name and event type with my event type).
So any help and better documentation will be appreciated
/Hoegge