Hi,
If the changes are made outside of Meteor, the filter is not taken into account because line 309 always matches.
|
const match = isEmpty(filter) ? {} : { $or: [ |
|
convertFilter(filter), |
|
{ 'updateDescription': { '$exists': true } }, |
|
{ 'operationType': 'delete' } |
|
]}; |
By removing this line, it works fine.
Also, i had to add also { fullDocument: 'updateLookup' } option in line 317
|
const changeStream = rawCollection.watch(pipeline); |
Hi,
If the changes are made outside of
Meteor, the filter is not taken into account because line 309 always matches.pub-sub/lib/publish.js
Lines 307 to 311 in 572e7c5
By removing this line, it works fine.
Also, i had to add also
{ fullDocument: 'updateLookup' }option in line 317pub-sub/lib/publish.js
Line 317 in 572e7c5