With the following pipeline:
[
{ $value: ['table1', 'table2'] },
{
$filter: 'compare',
path: '.',
operator: 'in',
not: true,
valuePath: '^.excludeSubTables[]',
},
]
... one would expect to filter by the values in excludeSubTables present on the object that was in the pipeline before we did $value, but it seems we get the level above that instead.
There is no way to get the object that was there before $value, and it seems to be "overwritten" in the context history.
With the following pipeline:
... one would expect to filter by the values in
excludeSubTablespresent on the object that was in the pipeline before we did$value, but it seems we get the level above that instead.There is no way to get the object that was there before
$value, and it seems to be "overwritten" in the context history.