Open
Description
For example.
this.findByFields({
tag: new ObjectId('some-tag-id')
})
and
this.deleteFromCacheByFields({
tag: new ObjectId('some-tag-id')
})
generate different keys, for this case it will generate: {"tag":{"$oid":"6151e9b4b005977991064607"}}
and {"tag":[{"$oid":"6151e9b4b005977991064607"}]}
respectively; which will prevent the method from behaving correctly
the issue is generated here