Open eth0lo opened 3 years ago
The logic on https://github.com/GraphQLGuide/apollo-datasource-mongodb/blob/master/src/cache.js#L187-L200 basically needs to make its way into deleteFromCacheByFields()
as that will make the keys match up.
Any progress on this?
Having the same issue
Addressed in 95
For example.
and
generate different keys, for this case it will generate:
{"tag":{"$oid":"6151e9b4b005977991064607"}}
and{"tag":[{"$oid":"6151e9b4b005977991064607"}]}
respectively; which will prevent the method from behaving correctlythe issue is generated here