Closed pawarvijay closed 8 years ago
:) I was trying to use snapshot functionality.Its not producing snapshots
configuration that is used for snapshot:
snapshotThreshold: 2, (snapshot after every 2 events)
1 : on debugging found error in file defultcommandhandler.js : line 370
MongoError key _general.undefined.56710bcd4507c0550bcc1149 must not contain '.'
2: then on further debugging found error here in file aggregateModel.js : line 62
this.get('_revisions')[streamInfo.context + '.' + streamInfo.aggregate + '.' + streamInfo.aggregateId] = rev;
Mongo stores key and values and keys should not contain '.' dott
am i missing some thing in configuration . . ?
i will get a look at it...
there was a but... sorry.... cqrs-domain v2.1.0
Yesss , snapshots are working now :+1:
:) I was trying to use snapshot functionality.Its not producing snapshots
configuration that is used for snapshot:
1 : on debugging found error in file defultcommandhandler.js : line 370
MongoError key _general.undefined.56710bcd4507c0550bcc1149 must not contain '.'
2: then on further debugging found error here in file aggregateModel.js : line 62
this.get('_revisions')[streamInfo.context + '.' + streamInfo.aggregate + '.' + streamInfo.aggregateId] = rev;
Mongo stores key and values and keys should not contain '.' dott
am i missing some thing in configuration . . ?