Closed dolcalmi closed 2 years ago
I was on vacation for 3 weeks. I will have a look at it today or tomorrow.
@dolcalmi
You want to work on this now? :)
@dolcalmi
You want to work on this now? :)
if you have a better/cleaner approach let me know, I will be glad to help
Btw. When the balance snapshotting was implemented I was not very happy about the fact that i did not quite understood the mechanics completely. So I worked the last months on the mongoose code, to get deeper understanding regarding the mongodb and mongoose. Fun Fact: I am now an official contributor of mongoose - LOL.
I will maybe, when I have time inspect the snapshotting of balances further more to ensure we have no race conditions or so.
Problem
Custom schema attributes are not setup correctly for balance query
Solution
parseFilterQuery
logicmeta
attribute only for snapshot related methodsMaybe not the cleaner solution but doesn't change other collections schema/behavior
Related issue: https://github.com/flash-oss/medici/issues/58